ZSH in bash profile to do not break scp

This commit is contained in:
Chocobozzz 2016-07-21 12:09:48 +02:00
parent caecbccbff
commit 704da3b226
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ for musthave in $musthaves; do
which "$musthave" >/dev/null 2>&1
if [ "$?" -ne 0 ]; then
echo "You should install ${musthave}."
echo "On Ubuntu 14.04: apt-get install zsh wget git vim openssh-client rxvt-unicode unzip ruby exuberant-ctags"
echo "On Ubuntu 14.04: apt-get install zsh wget git vim-nox openssh-client rxvt-unicode unzip ruby exuberant-ctags"
exit
fi
done
@ -15,7 +15,7 @@ done
# ZSH setup
SHELL=zsh sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
echo "Setting ZSH as default."
echo "exec zsh" >> "$HOME/.bashrc"
echo "exec zsh" >> "$HOME/.bash_profile"
# Copy configurations
tempdir="temp_$(date -I)"