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>
A modern replacement for ls
.
exa -la
A cat(1) clone with syntax highlighting and Git integration.
bat file.txt