Added update function. More name changes

This commit is contained in:
Nathan Broadbent
2011-10-18 00:31:12 +08:00
parent 0449951e99
commit 8c95162bc6
4 changed files with 7 additions and 3 deletions

View File

@@ -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 File

@@ -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 File

@@ -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 File

@@ -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"