项目作者: irfansharif

项目描述 :
@irfansharif's configs
高级语言: Vim script
项目地址: git://github.com/irfansharif/dotfiles.git
创建时间: 2016-02-20T11:13:51Z
项目社区:https://github.com/irfansharif/dotfiles

开源协议:

下载


@irfansharif’s dotfiles

A documented history of needlessly meddling about configuration files
hoping to save time lost via meddling about configuration files.

Setup

  1. #!/usr/bin/env bash
  2. function install {
  3. if [ -z "$GOPATH" ]; then
  4. echo "GOPATH unset; exiting"
  5. exit 1
  6. fi
  7. if [ -z "$SRCTREE" ]; then
  8. echo "SRCTREE unset; falling back to $GOPATH/src/github.com/irfansharif/dotfiles"
  9. SRCTREE=$GOPATH/src/github.com/irfansharif/dotfiles
  10. fi
  11. if [ ! -d "$SRCTREE" ] ; then
  12. git clone git@github.com:irfansharif/dotfiles.git $SRCTREE
  13. fi
  14. ln -sf ${SRCTREE}/tmux/tmux.conf ~/.tmux.conf
  15. ln -sf ${SRCTREE}/git/gitconfig ~/.gitconfig
  16. ln -sf ${SRCTREE}/git/git-template ~/.git-template
  17. ln -sf ${SRCTREE}/git/gitignore-global ~/.gitignore-global
  18. ln -sf ${SRCTREE}/nvim ~/.config/nvim
  19. ln -sf ${SRCTREE}/fish ~/.config/fish
  20. ln -sf ${SRCTREE}/bat ~/.config/bat
  21. ln -sf ${SRCTREE}/alacritty ~/.config/alacritty
  22. ln -sf ${SRCTREE}/idea/ideavimrc ~/.ideavimrc
  23. }