Add alias aliases

This commit is contained in:
hektor committed 2023-05-21 19:16:51 +02:00
1 parent 465b690404
commit 0ec7c24f4e
2 files changed
+8 -1

No files matched your search

+4
View File
@@ -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"
+4 -1
View File
@@ -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]