workstation/roles/home-cli/files/bashrc

27 lines
475 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\] "
2022-09-10 22:29:47 +00:00
if [ -r "$HOME/.shrc" ]
then
. "$HOME/.shrc"
fi