ssh.role/files/profile.d/00-bash.sh
2024-09-17 00:49:08 +02:00

15 lines
No EOL
417 B
Bash

## custom bash changes
# colorful bash
force_color_prompt=yes
export LS_OPTIONS='--color=auto'
eval "`dircolors`"
# aliases
alias l='ls $LS_OPTIONS -la'
alias ll='ls $LS_OPTIONS -l'
alias vi='vim'
alias docker-compose='docker compose'
# search history with keys
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'
bind '"\e[5~": history-search-backward'
bind '"\e[6~": history-search-forward'