export SHELL=/bin/bash [ -d /etc/update-motd.d ] && run-parts /etc/update-motd.d [ -r /etc/motd ] && cat /etc/motd [ -r /etc/profile ] && source /etc/profile [ -r /etc/bash.bashrc ] && source /etc/bash.bashrc HISTCONTROL=ignoreboth shopt -s histappend [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" alias ll='ls -alF' alias la='ls -A' alias l='ls -CF' alias sl='ls' [ -x $JSSHHOME/sshrc.jssh ] && alias jssh="$JSSHHOME/sshrc.jssh" which screen >/dev/null 2>&1 && [ -r $JSSHHOME/screenrc.jssh ] && alias screen="screen -c $JSSHHOME/screenrc.jssh" which vim >/dev/null 2>&1 && [ -r $JSSHHOME/vimrc.jssh ] && export VIMINIT="let \$MYVIMRC='$JSSHHOME/vimrc.jssh' | source \$MYVIMRC" PROMPT_COMMAND=__prompt_command __prompt_command() { local curr_exit="$?" PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' if [ "$curr_exit" != 0 ]; then PS1="[$curr_exit]$PS1" fi } set -o vi export EDITOR='vim'