Skip to content
Browse files

Added update function. More name changes

  • Loading branch information...
1 parent 0449951 commit 8c95162bc6caf7c37ba440f147aefb0363c224b3 @ndbroadbent committed
Showing with 7 additions and 3 deletions.
  1. +1 −1 git.scmbrc.example
  2. +1 −1 install.sh
  3. +4 −0 lib/_shared.sh
  4. +1 −1 lib/git/aliases_and_bindings.sh
View
2 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"
View
2 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.
View
4 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); }
+
View
2 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"

0 comments on commit 8c95162

Please sign in to comment.
Something went wrong with that request. Please try again.