loading...

re: Bash: How To Teleport In The Terminal VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I ❤️ aliases You gotta check out rupa/z. It's not quite as reliable as an alias, it is magical. It's based on your frecently used directories. ...
 

I use a combination of z and aliases. E.g.:

alias projects="z ~/Documents/projects"

So now, if I just type projects I'll always go to the ~/Documents/projects folder, but if I type projects img I'll have a good chance of going to the ~/Documents/projects/static/img folder.

The alias is using z, but only to change to a folder under ~/Documents/projects.

code of conduct - report abuse