Add new aliases

This commit is contained in:
Tobias Reisinger 2020-09-18 23:36:42 +02:00
parent 36266195d1
commit c002ba957b
3 changed files with 6 additions and 0 deletions

View file

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

View file

@ -14,6 +14,8 @@
[difftool]
prompt = false
[alias]
ci = commit -v
cia = commit -v --amend
dt = difftool
d = diff
b = branch -vv

View file

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