Comment on How do you shell expand your variables and why?
gamma@programming.dev 1 year ago
Typically find “$HOME/docs”
, but with a few caveats:
-
In Zsh or Fish, the quotes are unnecessary:
find $HOME/docs
-
If I’m using anything potentially destructive:
mv “${HOME:?}/bin” …