chore(git): remove the g
function
This is now used as an alias for `git`.
This commit is contained in:
parent
6974d288a5
commit
5a08bdc7ea
1 changed files with 0 additions and 12 deletions
|
@ -28,18 +28,6 @@
|
||||||
zstyle ":completion:*" matcher-list "" "m:{a-zA-Z}={A-Za-z}" "r:|=*" "l:|=* r:|=*"
|
zstyle ":completion:*" matcher-list "" "m:{a-zA-Z}={A-Za-z}" "r:|=*" "l:|=* r:|=*"
|
||||||
autoload -Uz compinit && compinit
|
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-ls-all() {
|
||||||
clear
|
clear
|
||||||
exa -al
|
exa -al
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue