Skip to content

Commit

Permalink
Add alias for git aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
RustyTake-Off committed Sep 8, 2024
1 parent 30c65d4 commit 7f1b50e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shared/.gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@
path = ~/wk/wk.gitconfig

[alias]
alias = config --get-regexp '^alias.'
# alias = config --get-regexp '^alias.'
alias = "!f() { [ $# -eq 0 ] && git config --get-regexp '^alias.' || git config --get-regexp '^alias.' | grep --color=always -E "$(echo "$@" | sed 's/ /|/g')"; }; f"
conli = config --list
unm = config user.name
uem = config user.email
Expand Down

0 comments on commit 7f1b50e

Please sign in to comment.