dotfiles/meta/tasks/zim.yaml

27 lines
1.2 KiB
YAML
Raw Normal View History

2021-02-19 20:34:24 +00:00
- defaults:
link:
relink: true
2020-08-10 10:45:33 +00:00
2021-02-19 20:34:24 +00:00
- shell:
#- command: '/bin/bash -c "curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/src/templates/zshenv https://raw.githubusercontent.com/zimfw/install/master/src/templates/zshrc https://raw.githubusercontent.com/zimfw/install/master/src/templates/zlogin https://raw.githubusercontent.com/zimfw/install/master/src/templates/zimrc -o $HOME/.zshenv -o $HOME/.zshrc -o $HOME/.zlogin -o $HOME/.zimrc"'
# description: Getting dotfiles for Zsh IMproved FrameWork
- command: '[[ ! -d "${HOME}/.zim" ]] && mkdir "${HOME}/.zim" ; /bin/bash -c "curl -fsSL https://github.com/zimfw/zimfw/releases/latest/download/zimfw.zsh -o ${HOME}/.zim/zimfw.zsh"'
2020-08-09 17:30:42 +00:00
description: Creating and getting zim dir and installation file
2021-02-19 20:34:24 +00:00
- link:
${HOME}/.zimrc:
path: conf.d/zim/zimrc
${HOME}/.zshenv:
path: conf.d/zim/zshenv
${HOME}/.zlogin:
path: conf.d/zim/zlogin
${HOME}/.zshrc:
path: conf.d/zim/zshrc
${HOME}/.zim/modules/:
glob: true
path: conf.d/zim/modules/*
- shell:
- command: '/bin/bash -c "$(which zsh) ${HOME}/.zim/zimfw.zsh install"'
description: Installing the Zsh IMproved FrameWork