diff options
author | Tom Adams <tom@holizz.com> | 2009-07-12 21:50:28 +0100 |
---|---|---|
committer | Tom Adams <tom@holizz.com> | 2009-07-12 21:50:28 +0100 |
commit | 5775e680694b9aebaa09a5a0ea104cb3ed0c3614 (patch) | |
tree | a372023d66080dc1a54680f8c76f871558bb0667 /examples | |
parent | c004e5bc10cbd259fd0db58230520f2484755c38 (diff) | |
parent | e57f902c3b4d0bb52485b33befdc1759baa6f8f5 (diff) |
Merge commit 'Dieterbe/experimental' into new_experimental
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/data/uzbl/scripts/formfiller.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/data/uzbl/scripts/formfiller.sh b/examples/data/uzbl/scripts/formfiller.sh index bbb9d1a..10afaba 100755 --- a/examples/data/uzbl/scripts/formfiller.sh +++ b/examples/data/uzbl/scripts/formfiller.sh @@ -16,8 +16,11 @@ keydir=${XDG_DATA_HOME:-$HOME/.local/share}/uzbl/forms [ -d "`dirname $keydir`" ] || exit 1 [ -d "$keydir" ] || mkdir "$keydir" -#editor=gvim -editor='urxvt -e vim' +editor=${VISUAL} +if [[ -z ${editor} ]]; then + #editor='gvim' + editor='urxvt -e vim' +fi config=$1; shift pid=$1; shift |