My dotfiles! Main configs:
- neovim, the text editor I use
- Hammerspoon, a macOS automation app using Lua
- zsh, the shell I use.
See the
autoload
directory for some nice functions - gh, the
GitHub CLI tool, see the
functions
directory for some useful GitHub related commands.
Any files in the zsh/autoload directly will be autoloaded.
To add files to the symlink script, edit
setup/resources/symlink.txt.
All lines should be of the form SRC DEST
where SRC
is the file or glob
pattern in ~/.dotfiles
to be symlinked and DEST
is the destination. DEST
is optional, and if it is not specified, SRC
will be symlinked into $HOME
with a .
prepended to its name. These files will be symlinked when
setup/bootstrap.sh
is run.
Examples:
zsh/zshrc
turns intoln -s ~/.dotfiles/zsh/zshrc ~/.zshrc
vim/ftplugin ~/.vim
turns intoln -s ~/.dotfiles/vim/ftplugin ~/.vim
git/*
turns intoln -s ~/.dotfiles/git/gitconfig ~/.gitconfig
andln -s ~/.dotfiles/git/gitignore ~/.gitignore
along with any other files in thegit
directory.
The contents of setup/resources/crontab will be put into the user's crontab when setup/bootstrap.sh is run.
Any files in the zsh/aliases directory will be sourced when .zshrc is run.