Skip to content
My *nix confs http://claytron.com/
VimL JavaScript Shell Perl Python Lua Other
Find file
Latest commit d72e441 @claytron update README. :book:
Failed to load latest commit information.
.conky conky file for shell-fm
.i3 get fancy with the scratchpad in i3
.irssi remove these scripts from autorun as they seem broken at the moment
.pentadactyl remove `hi clear` since it slows load time
.tmux convert to tmux 2.1 mouse settings
.vim pull themes in via git
.vimperator added smoozie back in
.zsh.d add latest version of zsh syntax highlighting
.zsh/git-prompt better output of git status
awesome - change border focus color
.ackrc ignore ctag files
.bash_profile the linter hath been pleased
.bashrc fzf all the things
.commonenv enhanced fzf default options
.commonfuncs script to easily navigate git stashes using fzf
.commonprofile the linter hath been pleased
.commonrc please the shellcheck
.ctags add yaml / salt ctags support
.email_signature current email sig
.gitconfig comments about my git aliases
.gitignore ignore nvim symlink
.hgrc start of an hgrc file
.inputrc jk as ESC anywhere
.irbrc silently fail to load extensions
.my.cnf mysql prompt setup
.pdbrc.py fix up the comment color in pdb++
.pentadactylrc conditionally remove alltabs button
.pryrc repeat last pry command unless it was continue or quit
.psqlrc start of some psql settings
.pydistutils.cfg use https to make pip stop complaining
.pystartup make pystartup Py3 compatible
.reviewboardrc review board is behind ssl now
.screenrc shortcut to match tmux to write paste buffer to file in screen
.tmux.conf convert to tmux 2.1 mouse settings
.ttytterrc add ttytter config
.vim_plugins.vim add goyo plugin for focused writing / coding
.vimpagerrc make it so that hjkl navigation works properly
.vimperatorrc set up kick ass to <leader>x (http://erkie.github.com/)
.vimrc change airline theme
.xmodmaprc make control an extra caps lock in X
.zprofile I made a crapload of changes:
.zshenv custom zsh completions path change
.zshprompt make prompt look less goofy
.zshprompt_dos add rehash to the precmd so that new commands are always available
.zshprompt_simple show all host entries before the domain
.zshrc wc global alias
README.mdown update README. :book:
authorized_keys dupe key
config ignore powerline cache
create_links.sh install vim plugins via vim-plug
fabfile.py add support for alternate ssh port to rsync push
servers add subversion servers config

README.mdown

README

All of these confs were compiled by Clayton Parker, aka claytron. Most of the confs have comments describing why/what is happening.

Caveats

I would strongly urge you not to use my confs directly. I am very picky about things, and this would certainly drive you crazy.

Another item of note is that I use vi editing mode in every place that will allow me to. This is set in the .inputrc and .zshrc. This would likely throw most people off as they are used to the emacs mode. The only issue I've run into with the vi mode is when you move from the end of the line in insert mode. When you try and go back to the end you can't without going to command mode and using a to add to the line.

A little history

To start off, here is a little background. Here in lies years of craziness all compiled into one nice little folder. I've been using the command line since 2003 when I was given a job as a systems administrator. I started on ZSH and have been using it ever since. At some point I decided to compile a set of confs that could be used with either ZSH or Bash (since most machines have at least bash).

Usage in the wild

Here is how I typically set up my shell on a new system.

$ git clone https://github.com/claytron/dotfiles.dotfiles
$ .dotfiles/create_links.sh
linking .screenrc
linking .vimrc
linking .zshenv
linking .zshprompt
linking .zshprompt_simple
linking .zshrc
linking .inputrc
linking .bash_profile
linking .bashrc
linking .commonrc
linking .commonenv
linking .commonprofile
Remove /home/clayton/.subversion/config so that it can be linked
linking .pystartup

Notice that it says the .subversion/config is in the way. So let's fix that.

$ rm .subversion/config
$ .dotfiles/create_links.sh
linking config

Now we are all set. Next time we log in the confs will be updated so that any new changes are added.

$ ssh some-machine

dotfiles updated:
U .dotfiles/.bashrc
At revision 10712.

$ qs

Since qs is an alias for .dotfiles/create_links.sh the latest confs are in place.

If you ever want to remove all the symlinks you can use the create_links.sh script by passing it the remove argument

$ .dotfiles/create_links.sh unlink
Unlinked /home/clayton/.screenrc
Unlinked /home/clayton/.vimrc
Unlinked /home/clayton/.zshenv
Unlinked /home/clayton/.zshprompt
Unlinked /home/clayton/.zshprompt_simple
Unlinked /home/clayton/.zshrc
Unlinked /home/clayton/.inputrc
Unlinked /home/clayton/.bash_profile
Unlinked /home/clayton/.bashrc
Unlinked /home/clayton/.commonrc
Unlinked /home/clayton/.commonenv
Unlinked /home/clayton/.commonprofile
Unlinked /home/clayton/.commonfuncs
Unlinked /home/clayton/.subversion/config
Unlinked /home/clayton/.pystartup

In addition to the remove argument there is cleanup. This will not only remove all the symlinks, but it will also remove all the other items created by the script. This can be slightly dangerous since that includes everything, including unversioned files.

Something went wrong with that request. Please try again.