chore(git): remove the g
function
This is now used as an alias for `git`.
This commit is contained in:
parent
6974d288a5
commit
5a08bdc7ea
|
@ -28,18 +28,6 @@
|
|||
zstyle ":completion:*" matcher-list "" "m:{a-zA-Z}={A-Za-z}" "r:|=*" "l:|=* r:|=*"
|
||||
autoload -Uz compinit && compinit
|
||||
|
||||
# No arguments: `git status`
|
||||
# With arguments: acts like `git`
|
||||
g() {
|
||||
if [[ $# -gt 0 ]]; then
|
||||
git "$@"
|
||||
else
|
||||
git status
|
||||
fi
|
||||
}
|
||||
|
||||
compdef g=git
|
||||
|
||||
clear-ls-all() {
|
||||
clear
|
||||
exa -al
|
||||
|
|
Loading…
Reference in a new issue