From 646a7c3dff975a9ea7c933cd80190f07559110bf Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Tue, 7 Jan 2020 11:41:12 +0100 Subject: [PATCH] Fix bugs --- tforgione.sh | 2 ++ 1 file changed, 2 insertions(+) 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