chore(git): remove the g function

This is now used as an alias for `git`.
This commit is contained in:
Oliver Davies 2023-04-05 18:00:00 +01:00
parent 6974d288a5
commit 5a08bdc7ea

View file

@ -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