[zsh] Do a bunch of profiling and clean up all my init functions -- shell init is so much faster now!
This commit is contained in:
parent
7e126fe703
commit
1c2e9025cf
11 changed files with 135 additions and 185 deletions
|
@ -1,8 +1,7 @@
|
|||
#!/usr/bin/env zsh
|
||||
# Eryn Wells <eryn@erynwells.me>
|
||||
|
||||
function g
|
||||
{
|
||||
function g {
|
||||
if [[ $# -gt 0 ]]; then
|
||||
git $@
|
||||
else
|
||||
|
@ -11,4 +10,7 @@ function g
|
|||
return $?
|
||||
}
|
||||
|
||||
# Use git completion for the g function
|
||||
compdef g='git'
|
||||
|
||||
g "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue