this post was submitted on 15 Jun 2023
20 points (100.0% liked)

commandline

1696 readers
1 users here now

founded 1 year ago
MODERATORS
 

Any extra tips or tricks are welcome!

Yesterday I learned that set -x enables trace for a bash, sh, or zsh script and prints the trace to the terminal.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] gamma 2 points 1 year ago (1 children)

I want to add setopt autocd, and hash -d name=/some/long/path/to/name to create your own ~name shortcuts.

[โ€“] cd_slash_rmrf 2 points 1 year ago

woa, i didn't even know about hash -d name=/path, neat!