File: scripts.tcsh

package info (click to toggle)
devtodo 0.1.20%2Bgit20200830.0ad52b0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 828 kB
  • sloc: ansic: 5,307; cpp: 3,943; perl: 112; sh: 106; makefile: 45; csh: 2
file content (16 lines) | stat: -rwxr-xr-x 486 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# This script implements automatic todo execution on directory change for
# tcsh, identical to the scripts.sh bash script.
#
# Thanks go to Matthew Russell who provided this script.  His usage 
# comments follow:
# 
# This could be inserted into either ~/.tcshrc or
# ~/.login. I don't think the "cwdcmd" alias works
# on csh, the forerunner to tcsh, though.
#

# Run todo on change of directory
alias cwdcmd devtodo --timeout --summary

# Run todo on login
devtodo --timeout --summary