Skip to content

Latest commit

 

History

History
25 lines (20 loc) · 1015 Bytes

bash.md

File metadata and controls

25 lines (20 loc) · 1015 Bytes
title description published date tags editor dateCreated
bash
true
2023-07-22 17:43:06 UTC
markdown
2021-01-27 23:20:01 UTC

bash

linux shell wiki
shell scripting tutorial \

bash customization:

.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

directory shortcuts (with custom bash variables)

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.