test ohmyzsh
This commit is contained in:
parent
209f1a3cac
commit
074a67e7eb
@ -43,7 +43,7 @@ zsh_prompt() {
|
|||||||
if [[ ${zshOption,,} = "n" ]]; then
|
if [[ ${zshOption,,} = "n" ]]; then
|
||||||
return
|
return
|
||||||
elif [[ ${zshOption,,} = "y" ]]; then
|
elif [[ ${zshOption,,} = "y" ]]; then
|
||||||
sh ../applications/Oh-MY-ZSH.sh
|
sh src/Oh-My-ZSH.sh
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
# install ZSH
|
# install ZSH
|
||||||
sudo apt install zsh -y
|
sudo apt-get update
|
||||||
|
sudo apt-get install zsh -y
|
||||||
|
|
||||||
# Get oh my zsh and switch to zsh
|
# Set ZSH as standard interface
|
||||||
wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
|
chsh -s $(which zsh) | 0
|
||||||
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
|
|
||||||
|
# Get oh my zsh
|
||||||
|
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||||
|
|
||||||
# recompile zsh
|
# recompile zsh
|
||||||
source ~/.zshrc
|
source ~/.zshrc
|
Loading…
x
Reference in New Issue
Block a user