diff --git a/.bash_aliases b/.bash_aliases index e2fc34d..10295d7 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -1,4 +1,8 @@ # Config quick-open +# Alias aliases +alias al=alias +alias alf="alias | fzf" +alias al-=unalias alias bashrc="nvim ~/.bashrc" alias aliasrc="nvim ~/.aliasrc" diff --git a/.gitconfig b/.gitconfig index 8992af8..aef1638 100644 --- a/.gitconfig +++ b/.gitconfig @@ -17,7 +17,10 @@ s = status -s co = checkout cob = checkout -b - alias = "!git config -l | grep alias | cut -c 7-" + # Note these follow the naming convention of my `.bash_aliases` + al = "!git config -l | grep alias | cut -c 7-" + alf = "!git config -l | grep alias | cut -c 7- | fzf" + al- = "!git config --local --unset $(git config -l | grep alias | cut --delimiter="=" --fields=1 | fzf)" rs = "restore --staged" [color]