diff options
Diffstat (limited to 'dotfiles/bashrc.sync')
-rw-r--r-- | dotfiles/bashrc.sync | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/dotfiles/bashrc.sync b/dotfiles/bashrc.sync index 72fc9fd..cf7dc81 100644 --- a/dotfiles/bashrc.sync +++ b/dotfiles/bashrc.sync @@ -4,3 +4,18 @@ export PATH="/opt/anaconda/bin:$PATH" export VISUAL=vim export EDITOR="$VISUAL" + +function blaise() { + echo hello +} + + +function countdown(){ + secs=$(($1 * 60)); + date1=$((`date +%s` + "$secs")); + while [ "$date1" -ge `date +%s` ]; do + echo -ne "$(date -u --date @$(($date1 - `date +%s`)) +%H:%M:%S)\r"; + sleep 0.1 + done +} + |