Hi, I am sort of new to linux, but more of an intermediate. Anyways what I want to do, and cannot find in google searches or on here, is basically create a shortcut key that will function the same way the ~ key does for your home directory. Except that you can choose what directory to set it to. Alias doesn't work because it is a command so you cannot cd into it, a variable is annoying because you have to type the $ before it. Is there any way to say for example have something like this? Say your directory is
and you want to make it so that the "@" symbol will take you there, but also know that it is a directory (basically terminal interprets it as the directory path) so you can therefore...
terminal goes to /my/really/long/and/annoying/to/fully/type/out/every/time/path
P.S. and alias='cd /path' is NOT what I am looking for. Because I want to use it in commands other than cd as well.