Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

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

Open
chrisJuresh opened this issue Feb 6, 2021 · 1 comment
Open

Comments

@chrisJuresh
Copy link

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.

@Amar1729
Copy link
Contributor

~ 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants