1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/sh # Open specified file in sdep folder in editor. # Usage: sdep-edit [file] # No options = once sdepdata="${XDG_DATA_HOME:-$HOME/.local}/sdep" file="$sdepdata/${1:-once}" editor=${VISUAL:-vi} $editor "$file"
Generated with cgit - Back to sebastiano.tronto.net