From b31396823e9f6cb980032c8f2bfd2935611eb676 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 14 Jul 2015 19:35:24 +0100 Subject: Wrap code to install git repositories in a plugin --- repos.zsh | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 repos.zsh (limited to 'repos.zsh') 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' -- cgit v1.2.3