Here are some dotfiles for bash, zsh, git, vim, and more.
- helpful bash and zsh prompt
- zero dependency bash scripts
- single file symlink setup
- easy to understand and customize
- default vim setup with git subtrees and vim-plug for plugins
- git completions for bash
- custom jupyter notebook css
- aliases like:
git pushme: pushes current HEAD to remotegit st: git statusgit ds: diff stageddown: cd to project root based on .gitback: cd to last folderlist: ls everything
Clone into ~/dotfiles.
$ cd ~
$ git clone https://github.com/themichaelyang/dotfilesSet up symlinks:
$ cd ~/dotfiles
$ ./link.shThen restart your terminal. Don't forget to make it your own.
link tries to symlink files then logs the outcome. That's all you need, really.
Add your own private dotfiles in:
git/gitprivate and shell/bashprivate. These are included and gitignored by default.
Vim plugins and vim-plug are copied as git subtrees in vim/plugins to prevent supply chain attacks.
git subtree add to add a plugin, and git pull individually to upgrade.
This script will remove all symlinked dotfiles (".*") in your home directory.
$ ./unlink.shIt does not remove dotfiles nested in folders yet, a known limitation.
