Ubuntu Customizations

Some of my Ubuntu customizations
created by on 2013-01-08

Two-line linux prompt-style

Always display terminal commands on a new line (see: <!– Alias “Linux-Command-Line-Prompt-Style” not found –> for more details).

~/.bashrc

if [ "$color_prompt" = yes ]; then
    PS1='\n${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\[email protected]\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\n\$ '
else
    PS1='\n${debian_chroot:+($debian_chroot)}\[email protected]\h:\w\n\$ '
fi

Extend your PATH variable to include your personal bin folder

vi ~/.bashrc

export PATH=$PATH:~/bin
Tags:
Fork allmark on GitHub