From 98739bb061e858e24d77a2ed09a65cd68ee5a3fd Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 8 Mar 2023 01:09:54 +0000 Subject: [PATCH] zsh: remove driver's license reminder --- hosts/common/home/zsh/default.nix | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hosts/common/home/zsh/default.nix b/hosts/common/home/zsh/default.nix index ad818e9a..5055ddc9 100644 --- a/hosts/common/home/zsh/default.nix +++ b/hosts/common/home/zsh/default.nix @@ -83,11 +83,6 @@ in pushd "$1"; } - expiration=$(date -d "6 Mar" +%s) - today=$(date +%s) - days_until=$(( ($expiration - $today) / (24*60*60) )) - echo "You have $days_until days to renew your driver's license" - # auto-cd into any of these dirs by typing them and pressing 'enter': hash -d 3rd="/home/colin/dev/3rd" hash -d dev="/home/colin/dev"