diff options
author | Urbain Vaes <urbain@vaes.uk> | 2015-07-14 19:35:24 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2015-07-14 19:35:24 +0100 |
commit | b31396823e9f6cb980032c8f2bfd2935611eb676 (patch) | |
tree | a3c1bce5d2b100eb03a7d89845158bad8ab459b2 /repos.zsh | |
parent | 8a10c634e3a3f26dc38f5660de0c6aacc6f1a0d1 (diff) |
Wrap code to install git repositories in a plugin
Diffstat (limited to 'repos.zsh')
-rw-r--r-- | repos.zsh | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/repos.zsh b/repos.zsh new file mode 100644 index 0000000..adf1a61 --- /dev/null +++ b/repos.zsh @@ -0,0 +1,38 @@ +home=/home/urbain +dir=$home/dotfiles +olddir=$home/dotfiles_old + +declare -A repodirs + +# General purpose programs +repodirs[alols/xcape]=$home/xcape +repodirs[icholy/ttygif]=$home/github/ttygif + +# Solarized for mutt +repodirs[altercation/mutt-colors-solarized]=$home/github/mutt-colors-solarized + +# My repositories + +# fzf-related +repodirs[uvaes/fzf-marks]=$home/github/fzf-marks +repodirs[atweiden/fzf-extras]=$home/github/fzf-extras +repodirs[junegunn/fzf]=$home/.fzf + +# Plugin managers for tmux/vim/zsh +repodirs[tmux-plugins/tpm]=$home/.tmux/plugins/tpm +repodirs[junegunn/vim-plug]=$dir/vim/vim-plug +repodirs[tarjoilija/zgen]=$home/.zgen + +function after_vimplug { + cd .. + rm -rf autoload + mkdir -p autoload + cd autoload + ln -s ../vim-plug/plug.vim; +} + +declare -A actions +actions[alols/xcape]='make' +actions[icholy/ttygif]='make' +actions[junegunn/fzf]='./install' +actions[junegunn/vim-plug]='after_vimplug' |