shell/zsh: update system zshenv paths
This commit is contained in:
parent
546de3dabd
commit
c41f98c5c5
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue