|
|
|
[run submodules]
|
|
|
|
cmd: git submodule init
|
|
|
|
|
|
|
|
[home bash-prefs]
|
|
|
|
when: host.has('bash')
|
|
|
|
files:
|
|
|
|
.bash_profile
|
|
|
|
.bashrc
|
|
|
|
|
|
|
|
[home vim]
|
|
|
|
when: host.has('vim') or host.has('nvim')
|
|
|
|
files:
|
|
|
|
vim/ftplugin > .vim/ftplugin
|
|
|
|
vim/pack > .vim/pack
|
|
|
|
vimrc > .vimrc
|
|
|
|
|
|
|
|
# [run vim-plugins]
|
|
|
|
# when: host.has('vim')
|
|
|
|
# cmd: vim +PluginInstall +qall
|
|
|
|
|
|
|
|
[link-files neovim:windows]
|
|
|
|
when: host.is_windows and host.has('nvim')
|
|
|
|
target_root: ~/AppData/Local
|
|
|
|
files:
|
|
|
|
nvim/lua
|
|
|
|
nvim/init.vim
|
|
|
|
Vundle.vim > nvim/bundle/Vundle.vim
|
|
|
|
|
|
|
|
[link-files neovim:linux]
|
|
|
|
when: host.is_linux and host.has('nvim')
|
|
|
|
target_root: ~/.config
|
|
|
|
files:
|
|
|
|
nvim/colors
|
|
|
|
nvim/lua
|
|
|
|
nvim/init.vim
|
|
|
|
|
|
|
|
[git vundle]
|
|
|
|
when: host.has('vim') or host.has('nvim')
|
|
|
|
repo: https://github.com/VundleVim/Vundle.vim.git
|
|
|
|
target: ~/.vim/bundle/Vundle.vim
|
|
|
|
|
|
|
|
[git packer-posix]
|
|
|
|
when: not host.is_windows
|
|
|
|
repo: https://github.com/wbthomason/packer.nvim
|
|
|
|
target: ~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
|
|
|
|
|
|
|
[git packer-windows]
|
|
|
|
when: host.is_windows
|
|
|
|
repo: https://github.com/wbthomason/packer.nvim
|
|
|
|
target: ~/AppData/Local/nvim-data/site/pack/packer/start/packer.nvim
|
|
|
|
|
|
|
|
# [run nvim-plugins]
|
|
|
|
# when: host.has('nvim')
|
|
|
|
# cmd: nvim +PluginInstall +qall
|
|
|
|
|
|
|
|
[home cargo]
|
|
|
|
when: host.has('cargo')
|
|
|
|
files: cargo-config.toml > .cargo/config.toml
|
|
|
|
|
|
|
|
[home htop]
|
|
|
|
when: host.has('htop')
|
|
|
|
files: .config/htop/htoprc
|
|
|
|
|
|
|
|
[home lazydocker]
|
|
|
|
when: host.has('lazydocker')
|
|
|
|
files: .config/lazydocker/config.yml
|
|
|
|
|
|
|
|
[home screenrc]
|
|
|
|
when: host.has('screen')
|
|
|
|
files: .screenrc
|
|
|
|
|
|
|
|
[home tmux]
|
|
|
|
when: host.has('tmux')
|
|
|
|
files: .tmux.conf
|
|
|
|
|
|
|
|
[home posix-nvim]
|
|
|
|
when: host.has('nvim') and not host.is_windows
|
|
|
|
files: nvim/init.vim > .config/nvim/init.vim
|
|
|
|
|
|
|
|
[home wsl]
|
|
|
|
when: host.is_wsl
|
|
|
|
files: scripts/winmode > bin/winmode
|
|
|
|
|
|
|
|
[link-files vscode:windows]
|
|
|
|
when: host.is_windows and host.has('code')
|
|
|
|
target_root: ~/AppData/Roaming
|
|
|
|
files:
|
|
|
|
code-settings.json > Code/User/settings.json
|
|
|
|
|
|
|
|
[home k9s-skin]
|
|
|
|
when: host.has('k9s')
|
|
|
|
files: k9s/skin.yml > .config/k9s/skin.yml
|
|
|
|
|
|
|
|
[cargo-install]
|
|
|
|
crates:
|
|
|
|
just
|
|
|
|
cargo-watch
|
|
|
|
cargo-edit
|
|
|
|
cargo-get
|
|
|
|
|
|
|
|
[link-files gitui:windows]
|
|
|
|
when: host.is_windows and host.has('gitui')
|
|
|
|
target_root: ~/AppData/Roaming
|
|
|
|
files:
|
|
|
|
gitui
|
|
|
|
|