From 1d4cd961ed5a19756178d75a22354d6c213ccc7c Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Mon, 23 Sep 2024 18:16:14 -0700 Subject: [PATCH] [zsh] Move init_env_aliases to init-zsh-helpers --- zsh/func/init-zsh-helpers | 10 ++++++++++ zsh/func/init_env_aliases | 5 ----- zshenv | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 zsh/func/init-zsh-helpers delete mode 100644 zsh/func/init_env_aliases diff --git a/zsh/func/init-zsh-helpers b/zsh/func/init-zsh-helpers new file mode 100644 index 0000000..7da76e3 --- /dev/null +++ b/zsh/func/init-zsh-helpers @@ -0,0 +1,10 @@ +#!/usr/bin/env zsh +# Eryn Wells + +function init-zsh-helpers +{ + alias local-array="local -a" + alias local-map="local -A" +} + +init-zsh-helpers "$@" diff --git a/zsh/func/init_env_aliases b/zsh/func/init_env_aliases deleted file mode 100644 index eb06b21..0000000 --- a/zsh/func/init_env_aliases +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env zsh -# Eryn Wells - -alias local-array="local -a" -alias local-map="local -A" diff --git a/zshenv b/zshenv index 7050af8..ed46ef9 100644 --- a/zshenv +++ b/zshenv @@ -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 \