Dotfiles

Dotfiles

Russ McKendrick
Russ McKendrick β€’ 1 min read β€’ Suggest Changes

For the last few years I have been grabbing some we documented dotfiles from GitHubβ†— but most of them have either ended up reconfigured my Mac to the point of it being unrecognisable or they have just been a collection of useful aliases. The I came across Bashstrapβ†—, it was close enough to what I wanted so I forked it↗ ….

text

You can install them using the following commands;

Dotfiles 1/1
git clone git@github.com:russmckendrick/dotfiles.git ~/.dotfiles
sudo easy_install Pygments
brew install tree
mv ~/.bash_profile ~/.dotfiles/backups/
mv ~/.bashrc ~/.dotfiles/backups/
mv ~/.gitconfig ~/.dotfiles/backups/
ln -s ~/.dotfiles/.bash_profile ~/.bash_profile
ln -s ~/.dotfiles/.bashrc ~/.bashrc
ln -s ~/.dotfiles/.gitconfig ~/.gitconfig
ln -s ~/.dotfiles/.hushlogin ~/.hushlogin
ln -s ~/.dotfiles/z.sh ~/.z.sh

Once installed you can do stuff like;

  • sΒ . or s filename.txt will open your current directory or a file in Sublime Text 2β†—
  • m README.md will open the specified file in Marked 2β†—
  • Jump directories rapidly, without having to set aliases using Zβ†—
  • Syntax highlighted β€˜cat’

amongst other things;

Dotfiles Example↗

Share

Related Posts

Comments