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.sh
does setup of this repo's files.bash ./install-full.sh
does 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
,~/.vimrc
are symlinked to point to this repo'sbashrc
,zshrc
,screenrc
,vimrc
here. ~/.bzrcs-public/
is symlinked to point tobzrcs-public/
here.~/.bashrc
and~/.zshrc
source~/.bzrcs-public/init
. Thebz
reflects the fact that these scripts work withbash
andzsh
both.~/.bzrcs-public/init
is responsible for sourcing the other files in its directory.- If
~/.bzrcs-private/
(a symlink to a directory containing aninit
file) and/or~/.bzrc-work
(a symlink to a file) are present, they'll be sourced as well.