Skip to content

My dotfiles for neovim, hammerspoon, zsh, and more!

License

Notifications You must be signed in to change notification settings

dzfrias/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

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.

Special Files

Autoload

Any files in the zsh/autoload directly will be autoloaded.

Symlinks

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 into ln -s ~/.dotfiles/zsh/zshrc ~/.zshrc
  • vim/ftplugin ~/.vim turns into ln -s ~/.dotfiles/vim/ftplugin ~/.vim
  • git/* turns into ln -s ~/.dotfiles/git/gitconfig ~/.gitconfig and ln -s ~/.dotfiles/git/gitignore ~/.gitignore along with any other files in the git directory.

Cron

The contents of setup/resources/crontab will be put into the user's crontab when setup/bootstrap.sh is run.

Aliases

Any files in the zsh/aliases directory will be sourced when .zshrc is run.