diff --git a/tforgione.sh b/tforgione.sh index c66ac7e..98f4435 100755 --- a/tforgione.sh +++ b/tforgione.sh @@ -1,6 +1,7 @@ #!/usr/bin/env sh # This script installs the default things for having a stylish zsh +user=$USER user_shell=`getent passwd $USER | cut -f7 -d:` info() { @@ -154,6 +155,7 @@ clone_dotfiles() { echo "# Checks that the update is done weekly, if its not done, prints a nice message" > $HOME/.config/dotfiles/zsh/extraconfig.zsh echo "export UPDATE_CHECK=weekly" >> $HOME/.config/dotfiles/zsh/extraconfig.zsh + echo "export UPDATE_CHECK_TYPE=sliding" >> $HOME/.config/dotfiles/zsh/extraconfig.zsh mkdir -p $HOME/.config/dotfiles/.data