rip
This commit is contained in:
parent
379cda34e5
commit
c73337fb8d
2 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,7 @@ function checkUpdate() {
|
|||
lastUpdate=$(cat $lastUpdateFile)
|
||||
now=$(date "+%s")
|
||||
|
||||
if [ $(( $now - $lastUpdate > 604800 )) ]; then
|
||||
if [[ $(( $now - $lastUpdate > 604800 )) -ne "0" ]]; then
|
||||
echo "this system hasn't been updated for over a week"
|
||||
echo "run system-upgrade.sh asap"
|
||||
return
|
||||
|
|
|
@ -2,3 +2,5 @@
|
|||
|
||||
zshHighlight=$(locate zsh-syntax-highlighting/zsh-syntax-highlighting.zsh | head -n 1)
|
||||
echo "source $zshHighlight" >> $HOME/.zshrc
|
||||
|
||||
echo "source <(chezmoi completion zsh)" >> $HOME/.zshrc
|
||||
|
|
Loading…
Reference in a new issue