export HISTCONTROL=ignoredups export HISTIGNORE="[ ]*:&:bg:fg:exit" HISTFILESIZE=1000000000 HISTSIZE=1000000 # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. shopt -s checkwinsize shopt -s histappend # set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in screen*|xterm*|rxvt*) PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' ;; *) PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' ;; esac # If this is an xterm set the title to user@host:dir case "$TERM" in screen*|xterm*|rxvt*) PROMPT_COMMAND='history -a; echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD/$HOME/~}\007"' ;; *) PROMPT_COMMAND='history -a' ;; esac source ~/.aliases # export GTK_IM_MODULE=ibus # export XMODIFIERS="@im=ibus" VISUAL=emacsclient EDITOR=vi PATH=$PATH:~/bin:~/elisp/scripts export VISUAL EDITOR