January 1, 1970
Default Settings
Some settings to make my MacOS working environment more comfortable.
Shell
Setup a color in the shell and add some aliases for ls.
vim ~/.bash_profile export CLICOLOR=1 export LSCOLORS=ExFxBxDxCxegedabagacad export EDITOR=/usr/bin/vim alias l='ls -lhFG' alias ll='ls -alhFG' alias rcp='rsync -havrP'
- -G colorizes output
- -F throws a / after a directory, * after an executable, and a @ after a symlink
- -h makes sizes human readable (GB, MB, KB, etc.)
- -l produce list/long output
- -a include otherwise hidden entries that start with a .
See also Simple Tricks to Improve the Terminal Appearance in Mac OS X.