title | description | published | date | tags | editor | dateCreated |
---|---|---|---|---|---|---|
bash |
true |
2023-07-22 17:43:06 UTC |
markdown |
2021-01-27 23:20:01 UTC |
linux shell wiki
shell scripting tutorial \
.bashrc prompt (PS1) generator - EZ-mode, drag-and-drop tool for custom prompts (incl. colors)
Bash tips: Colors and formatting (ANSI/VT100 Control sequences)
How to Customize (and Colorize) Your Bash Prompt
I want to quickly cd
to the directories I use the most. Maybe there's a better way, but here is what I did for my code directory _code
:
Added to ~/.bashrc
file : _code="/mnt/d/_work/_code"
( no spaces around =
)
Now I can get to the dir with cd $_code
.