sdep

A simple "date+event" line parser
git clone https://git.tronto.net/sdep
Download | Log | Files | Refs | README | LICENSE

sdep-edit (172B)


      1 #!/bin/sh
      2 
      3 # Open specified file in sdep folder in editor.
      4 
      5 # Usage: sdep-edit [file]
      6 # No options = once
      7 
      8 file="SDEPDATA/${1:-once}"
      9 editor=${VISUAL:-vi}
     10 
     11 $editor "$file"