aboutsummaryrefslogtreecommitdiff
path: root/scripts/sdep-edit
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-05-08 19:19:41 +0200
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-05-08 19:19:41 +0200
commit82bcfe3f25b1f0c08c93fd35497019b546e24ce2 (patch)
tree055309330ff16f6d3f754b2ef6eaff92fe3925ed /scripts/sdep-edit
parent61d15dd4854fe4607442b87602448d6dee16b6a8 (diff)
downloadsdep-82bcfe3f25b1f0c08c93fd35497019b546e24ce2.tar.gz
sdep-82bcfe3f25b1f0c08c93fd35497019b546e24ce2.zip
First commit, v0.1
Diffstat (limited to 'scripts/sdep-edit')
-rwxr-xr-xscripts/sdep-edit11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/sdep-edit b/scripts/sdep-edit
new file mode 100755
index 0000000..5e8c491
--- /dev/null
+++ b/scripts/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
8file="SDEPFOLDER/${1:-once}"
9editor=${VISUAL:-vi}
10
11$editor "$file"

Generated with cgit - Back to sebastiano.tronto.net