fix permissions on /home/user/ after dotfiles extraction
This commit is contained in:
parent
9193b7e9ac
commit
68c8ff350c
|
@ -57,6 +57,8 @@ if [[ $? -ne 0 ]]; then
|
|||
curl -fsSL https://gist.githubusercontent.com/anonymous/c2a9e0ea86b5fb9c7971182f461e33e4/raw/567a15b8491cb9106c53835c731e583d3b12d7b5/gistfile1.txt >> /home/$SUDO_USER/.zshrc
|
||||
fi
|
||||
|
||||
chown $SUDO_USER:$SUDO_USER /home/$SUDO_USER -R
|
||||
|
||||
cat /home/$SUDO_USER/.zshrc | grep "alias gst=" -q
|
||||
if [[ $? -ne 0 ]]; then
|
||||
printf "\n" >> /home/$SUDO_USER/.zshrc
|
||||
|
|
Loading…
Reference in a new issue