diff options
| author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-18 21:01:21 +0200 | 
|---|---|---|
| committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-04-18 21:01:21 +0200 | 
| commit | 7b302f3da11dfccf54ced9c98a84ed86f0b45e85 (patch) | |
| tree | 99c7266d56f455b345e0477d901df2d9f1f03a94 /config/essentials | |
| parent | c0e2c0dd60655fbdf5b3a38b797901bb7c362529 (diff) | |
always fetch on sgd
Diffstat (limited to 'config/essentials')
| -rw-r--r-- | config/essentials/zsh/functions.zsh | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/config/essentials/zsh/functions.zsh b/config/essentials/zsh/functions.zsh index fefc125..1dc31b0 100644 --- a/config/essentials/zsh/functions.zsh +++ b/config/essentials/zsh/functions.zsh @@ -89,12 +89,12 @@ sgd () {  	d="$PWD"  	for dir in ${1:-$HOME/src/*}   	do  -		cd $dir  +		cd $dir +		git fetch > /dev/null 2>&1  		if [ "$(git status --short 2>/dev/null | grep -v "??" | head -1)" ]  		then  			# There are changes, and this is a git repo  			echo "$PWD \e[1;31m*changes\e[0m" -			git fetch > /dev/null 2>&1  		fi  		test "$(parse_git_remote)" &&   			echo "$PWD \e[0;32m*push/pull\e[0m"  | 
