You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to load up the personal configs from .zshrc, one of the search patterns fails to find any matches so it exits with a 1 causing the rest of the loop to exit without sourcing the configs
It outputs the following error even when files exist
if [ "$(ls -A $ZSH_CONFIGS_DIR)" ];thenforfilein"$ZSH_CONFIGS_DIR"/*"$ZSH_CONFIGS_DIR"/.*;do# Exclude '.' and '..' from being sourcedif [ -f"$file" ];thensource"$file"fidonefi
zsh: no matches found: /Users/ajhenry/.config/ezsh/zshrc/.*
ls /Users/ajhenry/.config/ezsh/zshrc
personal.zsh
work.zsh
Changing the search to remove the second search fixes the issue
if [ "$(ls -A $ZSH_CONFIGS_DIR)" ];thenforfilein"$ZSH_CONFIGS_DIR"/*;do# Exclude '.' and '..' from being sourcedif [ -f"$file" ];thensource"$file"fidonefi
The text was updated successfully, but these errors were encountered:
When trying to load up the personal configs from
.zshrc
, one of the search patterns fails to find any matches so it exits with a1
causing the rest of the loop to exit without sourcing the configsIt outputs the following error even when files exist
Changing the search to remove the second search fixes the issue
The text was updated successfully, but these errors were encountered: