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\] "
2021-02-20 22:59:54 +00:00
2022-08-23 14:10:57 +00:00
if [ -r "$HOME/.shrc" ]
2022-08-18 07:44:25 +00:00
then
2022-08-19 14:52:07 +00:00
. "$HOME/.shrc"
2022-08-18 07:44:25 +00:00
fi