Ignore bind complaints if not sourcing install script
This commit is contained in:
@@ -101,10 +101,10 @@ complete -o nospace -o filenames -F _git_index_tab_completion $git_index_alias
|
|||||||
|
|
||||||
# Cross-shell key bindings
|
# Cross-shell key bindings
|
||||||
_bind(){
|
_bind(){
|
||||||
if [[ $shell == "zsh" ]]; then
|
if [[ $shell == "zsh" ]]; then # zsh
|
||||||
bindkey -s "$1" "$2" # zsh
|
bindkey -s "$1" "$2"
|
||||||
else
|
else # bash
|
||||||
bind "\"$1\": \"$2\"" # bash
|
bind "\"$1\": \"$2\"" > /dev/null
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user