Skip to content

Instantly share code, notes, and snippets.

@ychaouche
Created August 19, 2024 15:38
Show Gist options
  • Save ychaouche/1401f8d41d3fae7a5bc3f2d51a7843a5 to your computer and use it in GitHub Desktop.
Save ychaouche/1401f8d41d3fae7a5bc3f2d51a7843a5 to your computer and use it in GitHub Desktop.
Hello Mattia,
I hope this message finds you well.
At the end of your article about sensible-bash,
you write:
# Don't use ~ to define your home here, it won't work.
export dotfiles="$HOME/dotfiles"
export repos="$HOME/repos"
export documents="$HOME/Documents"
export dropbox="$HOME/Dropbox"
If the tilde’s caged in quotes, my friend,
No home can it define,
But free it from those bindings
And Watch your code align!
export dotfiles=~/dotfiles
export repos=~/repos"
export documents=~/Documents"
export dropbox=~/Dropbox"
So let it roam, let it be free,
No prison of quotation mark.
The path is clear, it’s easy, see?
Now bash won’t miss the spark!
So Mattia, oh Mattia,
Take heed, don’t cling so tight.
Sometimes freedom’s what you need,
To make the code feel right.
Best,
--
yassine -- sysadm
+213-779 06 06 23
http://about.me/ychaouche
Looking for side gigs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment