#8 Customizing Your Bash Command Prompt
The Bash command prompt can be fairly dull by default.
In this episode we add some color to help differentiate between files, executables, symlinks, and directories. We'll also change the format of the command prompt with the current time and better formatting.
Uploaded on Oct 23, 2009 | 5:23 | Tags: bash Linux OSX
# Linux # .bashrc PS1="[\t][\u@\h:\w]\$ " alias ls="ls --color" export LS_COLORS="ln=1;31;44:" # OSX & BSD # .bash_profile (or .bashrc) PS1="[\t][\u@\h:\w]\$ " export CLICOLOR=1 export LSCOLORS exfxcxdxbxegebabagacad
If you enjoyed this episode, be sure to check out the newest Technicast on Apache2. All purchases support FOSSCasts.





