Skip to content

Store my dotfiles and spread them across different computers easily.

Notifications You must be signed in to change notification settings

hb0nes/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Store my dotfiles and spread them across different computers easily. This works by adding files I need to copy across different machines to the filelist. All these files are files in your ~. If you normally store them someplace else, too bad. This isn't designed to work that way, it should work out of the box on clean machines with internet access. Enjoy.

Installing

  1. Clone the repo: git clone https://github.com/hb0nes/dotfiles.git
  2. Change directory to cloned repo: cd dotfiles
  3. Run: ./dotsync.sh
    1. ./dotsync first-run - first installs zsh and oh-my-zsh, then calls pull.
    2. ./dotsync pull - prompts you to pull either all the files or individually acknowledge them.
    3. ./dotsync push - prompts you to push either all the files or individually acknowledge them. Please note this is only for people with write access
    4. ./dotsync debug - prints the directory it'll copy from/to.

Note: These config files work best with wsl-term. Download it here: https://github.com/goreliu/wsl-terminal Tip: Pick the base16-monokai theme and "Menlo" font.

Errors

You probably need Python on your system. If after running ViM you get an error for YouCompleteMe, try compiling it by:

  1. cd ~/.vim/bundle/YouCompleteMe/
  2. ./install.py --clang-completer If you can't compile, you need dependencies. Vim needs Python support, check with: vim --version | grep -i python. It should show you a + next to python. In any case, if you like ViM, you should build it from source and get the latest version (8).

In the event you cannot get rid of this error or don't want completion in ViM, get rid of the plugin in ~/.vimrc.

Changing repo to HTTP/SSH

for easier pushing/pulling

Check current remote connection

git remote -v

Change remote url from HTTP to SSH

git remote set-url origin git@github.com:hb0nes/dotfiles.git

About

Store my dotfiles and spread them across different computers easily.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages