aboutsummaryrefslogtreecommitdiff
path: root/scripts/sdep-edit
blob: d19a3f5c0caf7db03a33ecd0f810df7d0ef5e756 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

# Open specified file in sdep folder in editor.

# Usage: sdep-edit [file]
# No options = once

file="SDEPDATA/${1:-once}"
editor=${VISUAL:-vi}

$editor "$file"

Generated with cgit - Back to sebastiano.tronto.net