[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:
Eryn Wells 2022-01-22 10:13:05 -08:00
parent 7e126fe703
commit 1c2e9025cf
11 changed files with 135 additions and 185 deletions

View file

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