My /home/fancy/.bashrc file:
Code:
# Duron 950 uilleann .bashrc for user fancy
# User specific aliases and functions
# Start X server
alias x='startx'
# Change bash prompt. See the article
# http://www-106.ibm.com/developerwork.../l-tip-prompt/
export PS1='\d \@ \[\e[32;1m\]\u\[\e[34;1m\]@\[\e[36;1m\]\H \[\e[34;1m\]\w\[\e[32;1m\] $ \[\e[0m\]'
# For the root account use this
# export PS1='\d \@ \[\e[31;1m\]\u\[\e[34;1m\]@\[\e[36;1m\]\H \[\e[34;1m\]\w\[\e[31;1m\] # \[\e[0m\]'
# Keep 1000 lines in .bash_history (default is 500)
export HISTSIZE=1000
export HISTFILESIZE=1000
#Stop bash from caching duplicate lines.
HISTCONTROL=ignoredups
# Disk free
alias df='df -h'
# Set paths
alias path='echo -e ${PATH//:/\\n}'
# Allow local users to use my X session
# xhost +local:
# I can't remember the new gnome command!
alias gtop='/usr/bin/gnome-system-monitor'
# Alter the ls command
alias ls='ls -ac'
alias lls='ls -lac'
# Become system administrator
alias god='su -'
# xterm
# alias xterm='xterm -bg black -fg white'
# Launch links with my linux links page
alias links='links /home/fancy/bookmarks.html'
# For nano editor because I forget which one I use in which distro
alias pico='nano -w'
alias nano='nano -w'
# Script needs to be on the bottom of the file or RH updates will fsck it up
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# See all command aliases for the current user
alias