diff --git a/dotfiles/lib/shellenv/uber.sh b/dotfiles/lib/shellenv/uber.sh index 059cb5d3..7ebe7e54 100644 --- a/dotfiles/lib/shellenv/uber.sh +++ b/dotfiles/lib/shellenv/uber.sh @@ -47,10 +47,6 @@ alias land_current='arc land $(git which-branch)' alias kill_h_forward='ps aux | grep ssh | grep 21300 | get_cols 2 | xargs kill -9' -autoload -U add-zsh-hook - -add-zsh-hook precmd uber_set_user_email_to_imalison - function uber_set_user_email_to_imalison { if in_git_directory; then diff --git a/dotfiles/lib/zsh/uber.sh b/dotfiles/lib/zsh/uber.sh new file mode 100644 index 00000000..7e16248c --- /dev/null +++ b/dotfiles/lib/zsh/uber.sh @@ -0,0 +1,2 @@ +autoload -U add-zsh-hook +add-zsh-hook precmd uber_set_user_email_to_imalison