diff --git a/git.scmbrc.example b/git.scmbrc.example index 61dbb12..f9ea899 100644 --- a/git.scmbrc.example +++ b/git.scmbrc.example @@ -24,7 +24,7 @@ export git_status_command="git_status_shortcuts" # ------------------------------------------------------------------------------------ git_alias="g" -# 1. 'Git Breeze' functions +# 1. 'SCM Breeze' functions git_status_shortcuts_alias="gs" git_add_shortcuts_alias="ga" git_show_files_alias="gsf" diff --git a/install.sh b/install.sh index 5244ec2..a258a30 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -# This loads Git Breeze into the shell session. +# This loads SCM Breeze into the shell session. exec_string='[[ -s "$HOME/.scm_breeze/scm_breeze.sh" ]] && . "$HOME/.scm_breeze/scm_breeze.sh"' # Add line to bashrc and zshrc if not already present. diff --git a/lib/_shared.sh b/lib/_shared.sh index 3450d56..b0e9922 100644 --- a/lib/_shared.sh +++ b/lib/_shared.sh @@ -6,3 +6,7 @@ if [[ $shell == "zsh" ]]; then zsh_shwordsplit=$((setopt | grep -q shwordsplit) zsh_compat(){ if [[ $shell == "zsh" && -z $zsh_shwordsplit ]]; then setopt shwordsplit; fi; } zsh_reset(){ if [[ $shell == "zsh" && -z $zsh_shwordsplit ]]; then unsetopt shwordsplit; fi; } + +# Update SCM Breeze from GitHub +update_scm_breeze() { $(cd "$scmbreezeDir"; git pull origin master); } + diff --git a/lib/git/aliases_and_bindings.sh b/lib/git/aliases_and_bindings.sh index e53bdb2..6b4e8af 100644 --- a/lib/git/aliases_and_bindings.sh +++ b/lib/git/aliases_and_bindings.sh @@ -2,7 +2,7 @@ # Set up configured aliases & keyboard shortcuts # -------------------------------------------------------------------- -# Git Breeze functions +# SCM Breeze functions alias $git_status_shortcuts_alias="git_status_shortcuts" alias $git_add_shortcuts_alias="git_add_shorcuts" alias $exec_git_expand_args_alias="exec_git_expand_args"