mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
tools/upgrade: Return to the original working directory after upgrading
Co-authored-by: Rex Roof <github@rexroof.com>
This commit is contained in:
@ -22,9 +22,8 @@ else
|
||||
fi
|
||||
|
||||
printf "${BLUE}%s${NORMAL}\n" "Updating Oh My Bash"
|
||||
cd "$OSH"
|
||||
if git pull --rebase --stat origin master
|
||||
then
|
||||
|
||||
if git -C "$OSH" pull --rebase --stat origin master; then
|
||||
printf '%s' "$GREEN"
|
||||
printf '%s\n' ' __ __ __ '
|
||||
printf '%s\n' ' ____ / /_ ____ ___ __ __ / /_ ____ ______/ /_ '
|
||||
|
Reference in New Issue
Block a user