[zsh] Move init_env_aliases to init-zsh-helpers

This commit is contained in:
Eryn Wells 2024-09-23 18:16:14 -07:00
parent d16905313e
commit 1d4cd961ed
3 changed files with 11 additions and 6 deletions

10
zsh/func/init-zsh-helpers Normal file
View file

@ -0,0 +1,10 @@
#!/usr/bin/env zsh
# Eryn Wells <eryn@erynwells.me>
function init-zsh-helpers
{
alias local-array="local -a"
alias local-map="local -A"
}
init-zsh-helpers "$@"

View file

@ -1,5 +0,0 @@
#!/usr/bin/env zsh
# Eryn Wells <eryn@erynwells.me>
alias local-array="local -a"
alias local-map="local -A"

2
zshenv
View file

@ -24,7 +24,7 @@ typeset -a zsh_init_env_functions=( \
init-path \
init_system_parameters \
init-unix-env \
init_env_aliases \
init-zsh-helpers \
init_env_python \
init_env_playdate \
init_env_vi \