23 lines
356 B
Bash
Executable file
23 lines
356 B
Bash
Executable file
#!/usr/bin/env zsh
|
|
source ${0:A:h}/../../deploy
|
|
|
|
install() {
|
|
case $(_os) in
|
|
macos) brew install editorconfig ;;
|
|
arch) yay --needed --noconfirm -S editorconfig-core-c ;;
|
|
debian) sudo apt-get install -y editorconfig ;;
|
|
esac
|
|
}
|
|
|
|
# update() {}
|
|
|
|
link() {
|
|
mklink .editorconfig ~/.editorconfig
|
|
}
|
|
|
|
clean() {
|
|
rm -fv ~/.editorconfig
|
|
}
|
|
|
|
init "$@"
|