From 82bcfe3f25b1f0c08c93fd35497019b546e24ce2 Mon Sep 17 00:00:00 2001 From: Sebastiano Tronto Date: Sat, 8 May 2021 19:19:41 +0200 Subject: First commit, v0.1 --- scripts/sdep-edit | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 scripts/sdep-edit (limited to 'scripts/sdep-edit') 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 @@ +#!/bin/sh + +# Open specified file in sdep folder in editor. + +# Usage: sdep-edit [file] +# No options = once + +file="SDEPFOLDER/${1:-once}" +editor=${VISUAL:-vi} + +$editor "$file" -- cgit v1.3