Bash/Zsh Shell Configuration🔗
Optimize terminal workflow🔗
Installation (if required)
Configuration🔗
Edit ~/.bashrc
or ~/.zshrc
# Aliases
alias ll='ls -alh'
alias grep='grep --color=auto'
# Prompt customization
PS1='\[\033[1;32m\]\u@\h:\w\$ \[\033[0m\]'
# History settings
HISTSIZE=5000
HISTTIMEFORMAT="%F %T "
Apply Changes
Key Features🔗
Command | Description |
---|---|
!! |
Rerun last command |
!$ |
last argument or prev cmd |
ctrl + r |
search history |
cd - |
previous directory |
Pro Tips🔗
- Use
stow
to manage dotfiles:
- Enable autocompletion