File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -134,8 +134,6 @@ function load_persistent_aliases {
134134
135135# Load oh-my-zsh when line editor initializes // before user input
136136function load_omz_on_init() {
137- unset -f load_omz_on_init
138-
139137 if [[ -n $DEFER_OMZ_LOAD ]]; then
140138 unset DEFER_OMZ_LOAD
141139 [[ -r $ZSH /oh-my-zsh.sh ]] && source $ZSH /oh-my-zsh.sh
@@ -152,10 +150,8 @@ function load_omz_on_init() {
152150 fi
153151 done
154152 fi
155-
153+ load_persistent_aliases
156154 fi
157- # Load aliases
158- load_persistent_aliases
159155}
160156
161157function load_if_terminal {
@@ -225,6 +221,7 @@ function load_if_terminal {
225221}
226222
227223# cleaning up home folder
224+ PATH=" $HOME /.local/bin:$PATH "
228225XDG_CONFIG_DIR=" ${XDG_CONFIG_DIR:- " $( xdg-user-dir CONFIG) " } "
229226XDG_DATA_HOME=" ${XDG_DATA_HOME:- $HOME / .local/ share} "
230227XDG_DATA_DIRS=" ${XDG_DATA_DIRS:- $XDG_DATA_HOME :/ usr/ local/ share:/ usr/ share} "
You can’t perform that action at this time.
0 commit comments