Current Size:
Chakra BreakPoints
base0px
sm480px
md768px
lg992px
xl1280px
2xl1536px
Current Height:Width
widthpx
heightpx

Subjects

Shell Index

Date Created: 2024/03/17

Last Update: 2024/04/21

#shell #catch #reference

Quality of Life

Reload Config after changes without closing terminal

source ~/.bashrc # or .zshrc

Custom Prompts

In your .bashrc or .zshrc file you can add custom prompts to your terminal.

".bashrc"
PROMPT="%(?.%F{green}->.%F{red}->)%f %B%F%n@%m-%1~%f%b "

This results as a prompt that looks like this:

-> user@hostname-<parentofcurrentdir>

exa

A modern replacement for ls.

exa -la

A cat(1) clone with syntax highlighting and Git integration.

bat file.txt

More Notes

All Notes
HomeProjects

Links

Home Articles Notes Projects About Style Guide Site Credits

Contact

 [email protected]

Location

🌎 Earth