From 8ae9c465242c5e379877a15832043113021d714e Mon Sep 17 00:00:00 2001 From: Adam Hovorka Date: Mon, 4 Sep 2017 13:42:23 -0600 Subject: Switch from stowsh to dotbot --- base/.zsh/functions.zsh | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 base/.zsh/functions.zsh (limited to 'base/.zsh/functions.zsh') diff --git a/base/.zsh/functions.zsh b/base/.zsh/functions.zsh deleted file mode 100644 index d2905ad..0000000 --- a/base/.zsh/functions.zsh +++ /dev/null @@ -1,18 +0,0 @@ -function todo { - a="" - for i; do a="$a,$i"; done - a="{$(echo "$a" | cut -d',' -f2-)}" - echo "grep -R --exclude-dir=$a TODO | sed -e 's/.*TODO //;s/ \*\/$//;s/ -->//' | LC_ALL=C sort -u" | zsh -} - -function which { - (alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@ -} #export -f which - -function trash { - mkdir -p "$HOME/.trash" - for file in "$@"; do - mv "$file" "$HOME/.trash/$(basename $file).$(date +%Y%m%d-%H%M%S)" - done -} # Add this to your crontab: -# 43 0 * * 3 find ~/.trash -mindepth 1 -mtime +90 -delete -- cgit v1.2.3-70-g09d2