We all know that ~ maps to $HOME or /home/user.
Is it possible to make other mappings like this on other characters (@,_)?
A possible workaround I thought of was to use variables (which require at least two characters)...
H=/run/media/user/Storage
cp $H/file.txt .
But is there a better way?
No comments:
Post a Comment