Add alias aliases

master
Hektor Misplon 2023-05-21 19:16:51 +02:00
parent d80e8c1882
commit 3f588cabbc
2 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,8 @@
# Config quick-open # Config quick-open
# Alias aliases
alias al=alias
alias alf="alias | fzf"
alias al-=unalias
alias bashrc="nvim ~/.bashrc" alias bashrc="nvim ~/.bashrc"
alias aliasrc="nvim ~/.aliasrc" alias aliasrc="nvim ~/.aliasrc"

View File

@ -17,7 +17,10 @@
s = status -s s = status -s
co = checkout co = checkout
cob = checkout -b 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" rs = "restore --staged"
[color] [color]