pywal icon indicating copy to clipboard operation
pywal copied to clipboard

Scripting Files - Shell Variables - 'no such file or directory'

Open chrisJuresh opened this issue 4 years ago • 1 comments

I have followed the instructions in the scripting files section, however when adding to my zshrc or to a shell script I get

/home/chris/.zshrc:.:56: no such file or directory: ~/.cache/wal/colors.sh when in my zshrc [chris@desktop ~]$ flatbg /home/chris/bin/flatbg: line 3: ~/.cache/wal/colors.sh: No such file or directory when running a script

This file clearly exists and I can open it and see all of the colors in it.

chrisJuresh avatar Feb 06 '21 00:02 chrisJuresh

~ doesn't always expand by default. You may need to set GLOB_SUBST or $HOME instead of ~ https://superuser.com/questions/1618296/no-such-file-or-directory-oh-my-zsh-oh-my-zsh-sh-even-though-file-exists

Amar1729 avatar Sep 15 '21 19:09 Amar1729