helm/misc/qutebrowser/_init
2017-12-06 01:39:10 -05:00

24 lines
361 B
Bash
Executable file

#!/usr/bin/env zsh
source ${0:A:h}/../../deploy
QUTEBROWSER_HOME=$XDG_CONFIG_HOME/qutebrowser
install() {
case $(_os) in
macos) brew cask install qutebrowser ;;
arch) pacaur --needed --noconfirm --noedit -S qutebrowser ;;
esac
}
# update() {}
link() {
mklink config.py $QUTEBROWSER_HOME/
}
clean() {
rm -rfv $QUTEBROWSER_HOME
}
init "$@"