diff --git a/.bashrc b/.bashrc index 5743407..666477c 100644 --- a/.bashrc +++ b/.bashrc @@ -4,6 +4,9 @@ # If not running interactively, don't do anything [ -z "$PS1" ] && return +# pgup binded to history search +bind '"\e[A": history-search-backward' + # don't put duplicate lines or lines starting with space in the history. # See bash(1) for more options HISTCONTROL=ignoreboth @@ -54,6 +57,8 @@ fi if [ "$color_prompt" = yes ]; then PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' + # user: cyan + #PS1='${debian_chroot:+($debian_chroot)}\[\033[01;36m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' else PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' fi