2021-03-11 22:49:39 +00:00
|
|
|
#!/bin/bash
|
2022-08-19 14:52:07 +00:00
|
|
|
if [ -f /etc/bashrc ]
|
2021-05-13 12:44:41 +00:00
|
|
|
then
|
2022-08-19 14:52:07 +00:00
|
|
|
. /etc/bashrc
|
2021-05-13 12:44:41 +00:00
|
|
|
fi
|
2021-02-20 22:59:54 +00:00
|
|
|
|
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-19 14:52:07 +00:00
|
|
|
if [ -f "$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
|