aliases: cleanup

feature/improve-speed
bretello 2021-10-02 13:22:44 +02:00
parent ea6dbc555e
commit 97b49b34c8
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 15 additions and 26 deletions

View File

@ -65,17 +65,6 @@ alias gl5='git log -n 5'
alias pvim='poetry run vim'
# grc: try to source the definitions file in /etc/grc.zsh (print a warning if it does not exist)
if [[ -f /etc/grc.zsh ]] ; then
source /etc/grc.zsh
elif [[ -f /usr/local/etc/grc.zsh ]] ; then
source /usr/local/etc/grc.zsh
else
echo "Could not grc completion file (checked /etc/grc.zsh and /usr/local/etc/grc.zsh. Command colorization will not work. Check your grc configuration (is grc installed?)" 1>&2
fi
alias powerline_update="pip install --upgrade --user 'git+https://github.com/powerline/powerline.git@develop#powerline'"
alias gs='git status'
alias gcf='git commit --fixup=HEAD'
alias gcaf='git commit -a --fixup=HEAD'
@ -94,7 +83,7 @@ alias venv='source .venv/bin/activate'
# Run fzf with file preview
alias pf="fzf --preview='BAT_STYLE='header,changes' bat --color=always {}' --bind shift-up:preview-page-up,shift-down:preview-page-down"
alias fgitlog="git log --oneline | fzf --multi --preview 'git -p show --color=always {+1}"
alias fgitlog="git log --oneline | fzf --multi --preview 'git -p show --color=always {+1}'"
# dotfiles user aliases
if [[ -f ~/.dotfiles_aliases ]]; then