helm/editor/editorconfig/_init

22 lines
316 B
Plaintext
Raw Normal View History

#!/usr/bin/env zsh
source ${0:A:h}/../../deploy
install() {
case $(_os) in
macos) brew install editorconfig ;;
arch) pacaur --noedit --needed --noconfirm -S editorconfig-core-c ;;
esac
}
# update() {}
link() {
mklink .editorconfig ~/.editorconfig
}
clean() {
rm -fv ~/.editorconfig
}
init "$@"