From fe275b3cb2149f4022aae130dc1dd03929f35978 Mon Sep 17 00:00:00 2001 From: Cyteen Date: Sat, 28 Jul 2018 11:28:11 +0100 Subject: [PATCH] Commit before pull. --- 020_zsh.sh | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/020_zsh.sh b/020_zsh.sh index 96f4f54..a77f474 100644 --- a/020_zsh.sh +++ b/020_zsh.sh @@ -1,3 +1,14 @@ +## Completions for Debian 9.0 - may be included in zgen +# +#sudo bash -c "cat > /etc/apt/sources.list.d/shells:zsh-users:zsh-completions.list" << 'EOF' +#deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-completions/Debian_9.0/ / +#EOF +# +#wget -qO - https://download.opensuse.org/repositories/shells:zsh-users:zsh-completions/Debian_9.0/Release.key | sudo apt-key add - +# +#sudo apt-get update +#sudo apt-get install zsh-completions + apt-get -y install zsh nodejs-legacy set -x # compaudit @@ -8,8 +19,8 @@ set -x mkdir -p /usr/local/share/zsh/site-functions chmod g-w /usr/local/share/zsh/site-functions -cd ~ -chsh -s $(which zsh) ${USER} +cd ~ || exit +chsh -s "$(which zsh)" "${USER}" apt-get install -y git # Install zgen plugin manager and zsh quicktart to get a default setup for zsh