## Sample .bashrc for SuSE Linux ## Copyright (c) SuSE GmbH Nuernberg ## There are 3 different types of shells in bash: the login shell, normal shell ## and interactive shell. Login shells read ~/.profile and interactive shells ## read ~/.bashrc; in our setup, /etc/profile sources ~/.bashrc - thus all ## settings made here will also take effect in a login shell. ## NOTE: It is recommended to make language settings in ~/.profile rather than ## here, since multilingual X sessions would not work properly if LANG is over- ## ridden in every subshell. ## Some applications read the EDITOR variable to determine your favourite text ## editor. So uncomment the line below and enter the editor of your choice :-) #export EDITOR=/usr/bin/mcedit export EDITOR=/usr/bin/vim ## The following command puts bash in 'vi mode' - does weird things #set -o vi ## Load our personal aliases and functions test -s ~/.alias && . ~/.alias test -s ~/.function && . ~/.function ## Comment the following line if you don't want the "fancy" command prompt. test -s /usr/local/bin/prompt_command && . /usr/local/bin/prompt_command ## I want case sensitive sort order. export LC_COLLATE=POSIX ## This NUMLOCK semaphore is tested by ~/.xinitrc when X loads ## Comment where NUMLOCK off is desired, i.e. some laptops. export XNUMLOCK=on ## Keeping a seperate command history file for each login device ensures you ## will be able to go back and look for that long lost command string. HISTFILE=~/.bash_history.$(tty | sed s%/dev/%% |sed s%/%%) ## The following line is a workaround for an xmms double-sized display bug. export XLIB_SKIP_ARGB_VISUALS=1 ## Short names for common directories. export SMPDIR=~/Movies/Simpsons/Master