commit 8bf70a313317c308a33ba1f32f16c4a43ab907ae
parent 11e6fa6fd3e9e2a17db32243c49327c50230ff90
Author: jacobsGit <JacobDoesLinux@protonmail.com>
Date: Sat, 2 Nov 2019 01:09:33 -0700
dotfiles
Diffstat:
2 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/bash/.bashrc b/bash/.bashrc
@@ -12,13 +12,6 @@ TERM=xterm
fi
-cd ~/dotfiles
-git="$(git pull)"
-if [[ "$git" != 'Already up to date.' ]]; then
- printf "git: dotfiles updated"
-fi
-
-cd
PS1="[\e[1;36m\u\e[0;1m@\e[1;36m\h\e[0;0m] [\e[1;34m\w\e[0;0m]\n: "
@@ -67,3 +60,5 @@ export PATH
PATH="$HOME/.xmobar/scripts:$PATH"
export PATH
+
+(pull-gits "$HOME/bin $HOME/dotfiles" &)
diff --git a/zsh/.zshrc b/zsh/.zshrc
@@ -37,7 +37,6 @@ plugins=(git)
[[ -f ~/.shell-alias ]] && . ~/.shell-alias
-
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
@@ -55,4 +54,5 @@ if [[ ! -d $ZSH_CACHE_DIR ]]; then
mkdir $ZSH_CACHE_DIR
fi
+(pull-gits "$HOME/bin $HOME/dotfiles" &)
source $ZSH/oh-my-zsh.sh