Commit db8ac60d authored by Igor Pecovnik's avatar Igor Pecovnik
Browse files

Add support for BASH profile

parent fa3b7b55
......@@ -915,6 +915,8 @@ function jobs ()
# change shell for future users
sed -i "s/^SHELL=.*/SHELL=\/usr\/bin\/zsh/" /etc/default/useradd
sed -i "s/^DSHELL=.*/DSHELL=\/usr\/bin\/zsh/" /etc/adduser.conf
# add support for bash profile
echo "emulate sh -c 'source /etc/profile'" >> /etc/zsh/zprofile
# we have common settings
sed -i "s/^export ZSH=.*/export ZSH=\/etc\/oh-my-zsh/" /etc/skel/.zshrc
# user cache
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment