shell/zsh: update system zshenv paths

This commit is contained in:
Henrik Lissner 2018-03-01 00:13:47 -05:00
parent 546de3dabd
commit c41f98c5c5
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -3,11 +3,12 @@ source ${0:A:h}/../../deploy
source .zshenv source .zshenv
install() { install() {
local zshenv=/etc/zshenv local zshenv=/etc/zsh/zshenv
case $(_os) in case $(_os) in
macos) brew install zsh fasd ;; macos) brew install zsh fasd
zshenv=/etc/zshenv
;;
arch) sudo pacman --needed --noconfirm -S zsh fasd arch) sudo pacman --needed --noconfirm -S zsh fasd
zshenv=/etc/zsh/zshenv
;; ;;
debian) sudo add-apt-repository ppa:aacebedo/fasd debian) sudo add-apt-repository ppa:aacebedo/fasd
sudo apt-get update && sudo apt-get install -y zsh fasd sudo apt-get update && sudo apt-get install -y zsh fasd