Child pages
  • Creating Custom SHELL Profiles

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
vi, vim, or pico ~/.bashrc

Example of bashrc:

Code Block
PS1='\u@\h> '

...



PATH=$PATH:/usr/local/gfortran/bin:/opt/local:/opt/igpp:/usr/local/bin:/usr/local/sac/bin

...


PATH=$PATH:/Applications:/Applications/Utilities:/Developer/Applications

...



export PATH=/usr/bin:$PATH

...


export OPENWINHOME=/usr/X11R6

...



alias ls='ls -F'

...


alias mv='mv -i'

...


alias cp='cp -i'

...



alias tedit='open -a /Applications/TextEdit.app/'

...


alias xcode='open -a /Applications/Xcode.app/'

...


alias fix='chmod 755'