22 lines
447 B
Bash
22 lines
447 B
Bash
#!/bin/bash
|
|
if [ -f /etc/bashrc ]
|
|
then
|
|
. /etc/bashrc
|
|
fi
|
|
|
|
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\] "
|
|
|
|
if [ -f "$HOME/.shrc" ]
|
|
then
|
|
. "$HOME/.shrc"
|
|
fi
|