# ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files for examples # If running interactively, then: if [ "$PS1" ]; then # my aliases alias w='w -s | grep -v USER | sort' alias mysqlc='mysql -u roryd -p roryd' alias canyonero='ssh -l lroryd canyonero' alias brockman='ssh -l roryd brockman' # enable color support of ls and also add handy aliases eval `dircolors -b` alias ls='ls --color=auto' alias ll='ls -l' alias la='ls -a' #alias l='ls -CF' alias dir='ls --color=auto --format=vertical' #alias vdir='ls --color=auto --format=long' # set a fancy prompt PS1='\u@\h:\w\\$ ' stty erase '^?' # If this is an xterm set the title to user@host:dir #case $TERM in #xterm*) # PROMPT_COMMAND='echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"' # ;; #*) # ;; #esac fi