workstation/roles/home-cli/files/bashrc

22 lines
425 B
Bash
Raw Normal View History

2021-03-11 22:49:39 +00:00
#!/bin/bash
case "$-" in
*i*)
;;
*)
# Shell is not interactive.
return 1
;;
esac
2022-08-19 14:52:07 +00:00
set -o emacs
set -o noclobber
shopt -s histappend
bind '"\e[1;5C": forward-word'
bind '"\e[1;5D": backward-word'
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'
bind 'set bell-style none'
bind 'set completion-ignore-case on'
bind 'set enable-bracketed-paste off'
export PS1="\[\033[01m\]\u@\h\\$\[\033[00m\] "