mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 11:31:30 +01:00
aliases: cleanup
This commit is contained in:
parent
ea6dbc555e
commit
97b49b34c8
13
aliases.sh
13
aliases.sh
|
@ -65,17 +65,6 @@ alias gl5='git log -n 5'
|
||||||
|
|
||||||
alias pvim='poetry run vim'
|
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 gs='git status'
|
||||||
alias gcf='git commit --fixup=HEAD'
|
alias gcf='git commit --fixup=HEAD'
|
||||||
alias gcaf='git commit -a --fixup=HEAD'
|
alias gcaf='git commit -a --fixup=HEAD'
|
||||||
|
@ -94,7 +83,7 @@ alias venv='source .venv/bin/activate'
|
||||||
|
|
||||||
# Run fzf with file preview
|
# 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 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
|
# dotfiles user aliases
|
||||||
if [[ -f ~/.dotfiles_aliases ]]; then
|
if [[ -f ~/.dotfiles_aliases ]]; then
|
||||||
|
|
Loading…
Reference in New Issue
Block a user