aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--home/nipsy/common/core/zsh/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/home/nipsy/common/core/zsh/default.nix b/home/nipsy/common/core/zsh/default.nix
index c155f65..7d54c92 100644
--- a/home/nipsy/common/core/zsh/default.nix
+++ b/home/nipsy/common/core/zsh/default.nix
@@ -57,5 +57,9 @@
telnet = "${pkgs.inetutils}/bin/telnet";
zgrep = "zgrep --color=auto";
};
+
+ siteFunctions = {
+ timer = "local cnt=\${1:-60}; pv -B 1 -L 1 -tpe -s \${cnt} -S /dev/zero > /dev/null";
+ };
};
}