This is a place to put my Linux/Darwin/Unix dotfiles. It's grown by accretion and evolution, 1992-ish onwards. See also http://github.com/johnkerl/scripts.
Run either or both of these from within a checkout of this repo:
bash ./install-dotfiles.shdoes setup of this repo's files.bash ./install-full.shdoes setup of some of my other utility repos.
./download-and-install.sh can be run in curl:
curl https://raw.githubusercontent.com/johnkerl/dotfiles/refs/heads/main/install-dotfiles.sh | bash
That clones this repo to ~/git/johnkerl/dotfiles, then cd's there and runs bash ./install-dotfiles.sh.
ln -s $(pwd)/bashrc ~/.bashrc
ln -s $(pwd)/zshrc ~/.zshrc
ln -s $(pwd)/bzrcs-public ~/.bzrcs-public
ln -s $(pwd)/ctags ~/.ctags
ln -s $(pwd)/screenrc ~/.screenrc
ln -s $(pwd)/vanilla ~/.vanilla
ln -s $(pwd)/vimrc ~/.vimrc
ln -s $(pwd)/R/environ ~/.Renviron
ln -s $(pwd)/R/profile ~/.Rprofile
You may need to add to ~/.bash_profile:
. ~/.bashrc
See also https://github.com/johnkerl/scripts/tree/master/suitcase and https://github.com/johnkerl/away for other remote-setup options.
- At installation,
~/.bashrc,~/.zshrc,~/.screenrc,~/.vimrcare symlinked to point to this repo'sbashrc,zshrc,screenrc,vimrchere. ~/.bzrcs-public/is symlinked to point tobzrcs-public/here.~/.bashrcand~/.zshrcsource~/.bzrcs-public/init. Thebzreflects the fact that these scripts work withbashandzshboth.~/.bzrcs-public/initis responsible for sourcing the other files in its directory.- If
~/.bzrcs-private/(a symlink to a directory containing aninitfile) and/or~/.bzrc-work(a symlink to a file) are present, they'll be sourced as well.