Add new aliases
This commit is contained in:
parent
36266195d1
commit
c002ba957b
3 changed files with 6 additions and 0 deletions
|
@ -40,3 +40,6 @@ alias synced-repos-status='
|
|||
'
|
||||
|
||||
alias rm='rm -I --one-file-system -v'
|
||||
|
||||
alias vim-grep='function _vim-grep(){ vim $(grep $@) }; _vim-grep'
|
||||
alias vim-find='function _vim-find(){ vim $(find $@) }; _vim-find'
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
[difftool]
|
||||
prompt = false
|
||||
[alias]
|
||||
ci = commit -v
|
||||
cia = commit -v --amend
|
||||
dt = difftool
|
||||
d = diff
|
||||
b = branch -vv
|
||||
|
|
|
@ -50,6 +50,7 @@ autoload edit-command-line; zle -N edit-command-line
|
|||
bindkey '^e' edit-command-line
|
||||
|
||||
[ -f "$HOME/.config/aliasrc" ] && source $HOME/.config/aliasrc
|
||||
[ -x "$(command -v thefuck)" ] && eval $(thefuck --alias)
|
||||
|
||||
# Load zsh-syntax-highlighting; should be last.
|
||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null
|
||||
|
|
Loading…
Reference in a new issue