Tuesday, April 13, 2010

Shell personalization after reinstalling Ubuntu

Previous: Reinstalling some favorite apps after reinstalling Ubuntu

Shell personalization after reinstalling Ubuntu



I set up some preferences in login files a little differently than before, based on tips from Stefaan Lippens. I put environment variable definitions in .profile and sourced .profile and .bash_aliases in .bash_profile. This seems to be quite a convenient setup. Added the following to .bash_aliases
# Shortcuts for directory listings
alias ll='ls -lF --color=auto'
alias la='ls -alF --color=auto'
alias ls='ls -F'

# Highlight matches in grep
alias grep='grep --color=auto'

# Start and stop my local wiki
alias wiki='~/.bin/wiki'
alias wiki_stop='~/.bin/wiki_stop'

# Start Freemind mind-mapping tool
alias freemind='~/.freemind/freemind.sh'

# Start UMLet diagramming tool
alias umlet='umlet.sh'
Uncommented the following lines in the provided .bashrc
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi


Next: Upgrading Eclipse after reinstalling Ubuntu

No comments:

Post a Comment