My dotfiles...
When the GNU version of `ls` is not installed (e.g. on a new Mac), the previous alias causes problems because the --group-directories-first option is not supported and makes `ls` fail. This commit fixes that by checking which version is installed and creating the alias accordingly. |
||
---|---|---|
bin | ||
dircolors | ||
resources | ||
vim/autoload | ||
.gitignore | ||
.gitmodules | ||
bash_profile | ||
bashrc | ||
gitconfig | ||
gitignore_global | ||
hushlogin | ||
inputrc | ||
minttyrc | ||
rcrc | ||
README.md | ||
tmux.conf | ||
vimrc |
Getting started (see https://github.com/thoughtbot/rcm#installation):
-
Install rcm:
sudo add-apt-repository ppa:martin-frost/thoughtbot-rcm sudo apt-get update sudo apt-get install rcm
-
Install the dotfiles:
env RCRC=$HOME/.dotfiles/rcrc rcup