A collection of .bashrc stuff and other dotfiles
Shell Perl
Switch branches/tags
Nothing to show
Permalink
Failed to load latest commit information.
bin
dotconfig Merge branch 'master' of github.com:stsquad/dotfiles Feb 27, 2017
dotgnupg gpg-agent: expand the working time of credentials Oct 24, 2016
.gitignore
README.org
bootstrap.sh
buildbot_dotbash_user
danny_dotscreenrc_monitor
dotXresources
dotbash_apt
dotbash_bitbake cleanup loading of modules, add valgrind and bitbake extras Aug 8, 2011
dotbash_ccache
dotbash_danny
dotbash_devqemu Fix up dotbash_hist merge Nov 13, 2016
dotbash_emacs
dotbash_find
dotbash_gentoo
dotbash_git
dotbash_hist
dotbash_keys
dotbash_kvm cleanup loading of modules, add valgrind and bitbake extras Aug 8, 2011
dotbash_path
dotbash_pitcairn
dotbash_profile
dotbash_ps1 ps1: fix merge May 20, 2015
dotbash_screen Handle screen-256color for saving env Nov 17, 2011
dotbash_tmux dotbash_tmux: add tmux_set_name helper Nov 28, 2016
dotbash_trent cleanup loading of modules, add valgrind and bitbake extras Aug 8, 2011
dotbash_valgrind
dotbash_zen dotbash_zen: add some simple lttng helpers Jul 18, 2014
dotbashrc
dotdiffignore Added some simple string munging bits Dec 2, 2007
dotgdbinit
dotgitconfig
dothtoprc Add htop config to dotfiles Nov 25, 2009
dotmailrc
dotmbsyncrc dotmbsync: folder fixups Sep 7, 2015
dotofflineimaprc
dotpshrc
dotratpoisonrc
dotrtorrent.rc fixes for latest rtorrent Sep 8, 2014
dotscreenrc
dottmate.conf
dottmux.conf dottmux: keep cwd on new shells Jan 6, 2017
dottoprc Added .toprc from http://github.com/ciaranm/dotfiles-ciaranm/tree/mas… Jul 17, 2008
dotxsession Mix of updates. Dec 19, 2014
pitcairn_dotmuttrc Pitcairns dotmuttrc Oct 8, 2008
setup_dotfiles.sh dotfiles: better linking for the .config directory Nov 6, 2015
socrates_dotmuttrc
trent_dotscreenrc_monitor Update monitor screenrc's to new keybinding Nov 4, 2010
zen_doti3status.conf i3status: updates for zen Sep 12, 2016
zen_dotsignature Add signature file for zen. Dec 9, 2013

README.org

Like many Unix hackers who move around from machine to machine I often found I spent a lot of time messing around setting up my environment. Eventually I moved all my dotfiles into version control and scripted up some quick set-up instructions.

Bootstrapping

This basically runs un-trusted shell script from the internet. You shouldn’t do it unless you are confident it won’t hose your system. I offer no such guarantees ;-)

wget -O - https://raw.github.com/stsquad/dotfiles/master/bootstrap.sh | bash

Layout

This repository contains “dotfiles” for bash and a whole bunch of other bits and pieces. The script setup_dotfiles.sh will symlink all the files in their correct place. Currently if you add new files it needs to be re-run.

Bash files

Each “dotbash_${FEATURE}” file is translated to ~/.bash_${FEATURE}. The main .bash_profile code runs some basic tests to see if it’s worth loading the snippet:

load_extra_module keys ssh-agent gpg-agent keychain

~/.config

Files in dotconfig are treated the same although the sub-directory is created for them by the setup script.

Per-user or machine files

Sometimes you want to only have certain setups for different users or machines. This is dealt with by pre-pending the dotfile with ${USER} or ${HOSTNAME}. Currently dotconfig directories are not supported.

Things I want to fixup one day [0/2]

Make .bash_profile search the repository

There is no reason the sub-modules couldn’t be kept in a directory in the repository to avoid cluttering up ~

Make the dotfiles work with zsh

In theory it should be compatible, I need to try this out.