Skip to content

Commit

Permalink
fix(zsh): Disable wildcard prefix of special ZSH rc files
Browse files Browse the repository at this point in the history
  • Loading branch information
Derek Michael Frank committed May 27, 2018
1 parent b00f261 commit 0d7428a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion zsh/zlogin.symlink
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ setopt nullglob

# all of our login zsh files
typeset -U login_files
login_files=($DOTFILES/**/*login.zsh)
login_files=($DOTFILES/**/login.zsh)

# run all login files
for file in ${login_files}; do
Expand Down
2 changes: 1 addition & 1 deletion zsh/zlogout.symlink
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ setopt nullglob

# all of our logout zsh files
typeset -U logout_files
logout_files=($DOTFILES/**/*logout.zsh)
logout_files=($DOTFILES/**/logout.zsh)

# run all logout files
for file in ${logout_files}; do
Expand Down
2 changes: 1 addition & 1 deletion zsh/zprofile.symlink
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ setopt nullglob

# all of our profile zsh files
typeset -U profile_files
profile_files=($DOTFILES/**/*profile.zsh)
profile_files=($DOTFILES/**/profile.zsh)

# run all profile files
for file in ${profile_files}; do
Expand Down
4 changes: 2 additions & 2 deletions zsh/zshenv.symlink
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export PROJECTS="$HOME/Code"

# path and env zsh files
typeset -U path_files env_files
path_files=($DOTFILES/**/*path.zsh~**/*fpath.zsh)
env_files=($DOTFILES/**/*env.zsh)
path_files=($DOTFILES/**/path.zsh~**/fpath.zsh)
env_files=($DOTFILES/**/env.zsh)

# load the path files
for file in ${path_files}; do
Expand Down
6 changes: 3 additions & 3 deletions zsh/zshrc.symlink
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ fi

# all of our non-path/env/profile/login/logout zsh files
typeset -U fpath_files interactive_files completion_files
fpath_files=($DOTFILES/**/*fpath.zsh)
interactive_files=($DOTFILES/**/*.zsh~**/*completion.zsh~**/*path.zsh~**/*env.zsh~**/*profile.zsh~**/*login.zsh~**/*logout.zsh)
completion_files=($DOTFILES/**/*completion.zsh)
fpath_files=($DOTFILES/**/fpath.zsh)
interactive_files=($DOTFILES/**/*.zsh~**/completion.zsh~**/path.zsh~**/env.zsh~**/profile.zsh~**/fpath.zsh~**/login.zsh~**/logout.zsh)
completion_files=($DOTFILES/**/completion.zsh)

# load fpath config files
for file in ${fpath_files}; do
Expand Down

0 comments on commit 0d7428a

Please sign in to comment.