Skip to content

themichaelyang/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

192 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

··· dotfiles ···

Here are some dotfiles for bash, zsh, git, vim, and more.

preview.png

Features

  • 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 remote
    • git st: git status
    • git ds: diff staged
    • down: cd to project root based on .git
    • back: cd to last folder
    • list: ls everything

Usage

Clone into ~/dotfiles.

$ cd ~
$ git clone https://github.com/themichaelyang/dotfiles

Set up symlinks:

$ cd ~/dotfiles
$ ./link.sh

Then restart your terminal. Don't forget to make it your own.

Customize

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.

Uninstall

This script will remove all symlinked dotfiles (".*") in your home directory.

$ ./unlink.sh

It does not remove dotfiles nested in folders yet, a known limitation.

Links

About

there are many like it, but this one is mine.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors