# ~/.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 # enable color support of ls and also add handy aliases export LS_OPTIONS='--color=auto' eval `dircolors` alias ls='ls $LS_OPTIONS' alias h=history alias l='ls $LS_OPTIONS -FA' alias ll='ls $LS_OPTIONS -FAl' alias lll='ls $LS_OPTIONS -FAl | less' alias printtext='mpage -1 -m50lrtb' alias printtext2='mpage -2 -m50lrtb' alias which="type -path" # set a fancy prompt # user@host:directory$ # Example: ted@snuggles:~/public_html$ #PS1='\u@\h:\w\$ ' # Ted recommends prompt with hostname, full path, and command number: # Example: snuggles:~/public_html 515 $ PS1='\h:\w \! \$ ' # set PATH so it includes user's private bin if it exists if [ -d ~/bin ] ; then PATH="~/bin:${PATH}" fi PRINTER=bjc2000 export PATH PS1 PRINTER fi