shell: update aliases
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
br = branch
|
br = branch
|
||||||
c = commit -v
|
c = commit -v
|
||||||
ca = commit -v --amend
|
ca = commit -v --amend
|
||||||
|
cm = commit -v -m
|
||||||
co = checkout
|
co = checkout
|
||||||
cp = cherry-pick
|
cp = cherry-pick
|
||||||
d = diff
|
d = diff
|
||||||
|
|||||||
@@ -10,13 +10,12 @@ export FZF_DEFAULT_OPTS='
|
|||||||
|
|
||||||
if [[ -d ~/.vim/plugged/fzf ]]; then
|
if [[ -d ~/.vim/plugged/fzf ]]; then
|
||||||
[[ -x $(which fzf 2> /dev/null) ]] || export PATH=$PATH:$HOME/.vim/plugged/fzf/bin
|
[[ -x $(which fzf 2> /dev/null) ]] || export PATH=$PATH:$HOME/.vim/plugged/fzf/bin
|
||||||
if [[ "$SHELL" =~ "bash$" ]]; then
|
|
||||||
source ~/.vim/plugged/fzf/shell/completion.bash
|
|
||||||
source ~/.vim/plugged/fzf/shell/key-bindings.bash
|
|
||||||
fi
|
|
||||||
if [[ "$SHELL" =~ "zsh$" ]]; then
|
if [[ "$SHELL" =~ "zsh$" ]]; then
|
||||||
source ~/.vim/plugged/fzf/shell/completion.zsh
|
source ~/.vim/plugged/fzf/shell/completion.zsh
|
||||||
source ~/.vim/plugged/fzf/shell/key-bindings.zsh
|
source ~/.vim/plugged/fzf/shell/key-bindings.zsh
|
||||||
|
else
|
||||||
|
source ~/.vim/plugged/fzf/shell/completion.bash
|
||||||
|
source ~/.vim/plugged/fzf/shell/key-bindings.bash
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user