Added update function. More name changes
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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); }
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user