[zsh] Move init_env_aliases to init-zsh-helpers
This commit is contained in:
parent
d16905313e
commit
1d4cd961ed
3 changed files with 11 additions and 6 deletions
10
zsh/func/init-zsh-helpers
Normal file
10
zsh/func/init-zsh-helpers
Normal 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 "$@"
|
|
@ -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
2
zshenv
|
@ -24,7 +24,7 @@ typeset -a zsh_init_env_functions=( \
|
||||||
init-path \
|
init-path \
|
||||||
init_system_parameters \
|
init_system_parameters \
|
||||||
init-unix-env \
|
init-unix-env \
|
||||||
init_env_aliases \
|
init-zsh-helpers \
|
||||||
init_env_python \
|
init_env_python \
|
||||||
init_env_playdate \
|
init_env_playdate \
|
||||||
init_env_vi \
|
init_env_vi \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue