summaryrefslogtreecommitdiff
path: root/etc/login
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-11-21 23:20:29 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-11-21 23:20:29 +0100
commitec6c924f8791926693a515524b27eb805be50f63 (patch)
tree2018e2599e767adcbf81f021060e1daa4d0dc355 /etc/login
parente7ad146b035856a747781fa4fb823a24aa3f5842 (diff)
Remove check_com function
Diffstat (limited to 'etc/login')
-rw-r--r--etc/login4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/login b/etc/login
index 0618561..0fb05ca 100644
--- a/etc/login
+++ b/etc/login
@@ -1,4 +1,4 @@
## vim:ft=zsh
-check_com -c todo && [[ -r ~/var/gtd/todo ]] && gtd-todo
-check_com -c calendar && [[ -r ~/stuff/calendar ]] && calendar
+[[ -n $commands[todo] ]] && [[ -r ~/var/gtd/todo ]] && gtd-todo
+[[ -n $commands[calendar] ]] && [[ -r ~/stuff/calendar ]] && calendar
true