diff options
| author | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-12-22 09:10:09 +0100 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano.tronto@gmail.com> | 2021-12-22 09:10:09 +0100 |
| commit | d506146c55ffa28ed8f5ba2d7ebd496e60e6a8d4 (patch) | |
| tree | 892cbe9b74dd914bc5b7e6148a4cfe115eaf4f76 /scripts-build/sdep-edit | |
| parent | 9902b66c098b51ac91785eb5d929a73b981ce08c (diff) | |
| download | sdep-d506146c55ffa28ed8f5ba2d7ebd496e60e6a8d4.tar.gz sdep-d506146c55ffa28ed8f5ba2d7ebd496e60e6a8d4.zip | |
added a script to check past events and notify
Diffstat (limited to 'scripts-build/sdep-edit')
| -rw-r--r-- | scripts-build/sdep-edit | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts-build/sdep-edit b/scripts-build/sdep-edit new file mode 100644 index 0000000..ce45cf6 --- /dev/null +++ b/scripts-build/sdep-edit | |||
| @@ -0,0 +1,11 @@ | |||
| 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="/home/sebastiano/.local/share/sdep/${1:-once}" | ||
| 9 | editor=${VISUAL:-vi} | ||
| 10 | |||
| 11 | $editor "$file" | ||
