summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2019-07-31 09:58:24 +0100
committerSean Whitton <spwhitton@spwhitton.name>2019-07-31 10:49:54 +0100
commit24610b4a7dc00a11b66462b7ec37363d03d75b89 (patch)
tree2086567d5d3a635e09b05d260069eccebc194306 /.bashrc
parenta365609bddc8d574d23d47e5e46f90ab6c22416f (diff)
downloaddotfiles-24610b4a7dc00a11b66462b7ec37363d03d75b89.tar.gz
add secs function to .bashrc
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index df6228c0..c362455d 100644
--- a/.bashrc
+++ b/.bashrc
@@ -209,6 +209,14 @@ grep-queued () {
ssh ssh.upload.debian.org grep "$@" /srv/upload.debian.org/queued/run/log
}
+secs () {
+ for i in $(seq $1 -1 1); do
+ echo $i
+ sleep 1
+ done
+ echo 0
+}
+
# --- host-specific aliases/functions
# ftp-master.debian.org