summaryrefslogtreecommitdiff
path: root/etc/functions/gtd-all
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2010-04-02 11:32:38 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2010-04-02 11:32:38 +0200
commitf0f3c02a3ccde07d3dc79577c7eca41ea3e8e86f (patch)
treed0aaab1de872a30a94555d2da3b501e13e18c217 /etc/functions/gtd-all
parent81ac4a06bff278f07620804b7d4120342b1f6522 (diff)
Replace $var by ${var}
Diffstat (limited to 'etc/functions/gtd-all')
-rw-r--r--etc/functions/gtd-all8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/functions/gtd-all b/etc/functions/gtd-all
index ddbfdba..3cbdde5 100644
--- a/etc/functions/gtd-all
+++ b/etc/functions/gtd-all
@@ -5,8 +5,8 @@ typeset prefix=~/var/gtd
typeset database
typeset -i force
-while [[ $1 == -* ]] {
- case $1 in
+while [[ ${1} == -* ]] {
+ case ${1} in
-|--) shift; break ;;
--force) force=1 ;;
esac
@@ -26,7 +26,7 @@ function gtd_grep {
return 0
}
-for database in $prefix/*(.N); {
+for database in ${prefix}/*(.N); {
echo "\n${database:t}"
- todo --database $database $* | gtd_grep
+ todo --database ${database} ${*} | gtd_grep
}