scripts

Various scripts for UNIX-like systems
git clone https://git.tronto.net/scripts
Download | Log | Files | Refs | README

xedit (125B)


      1 #!/bin/sh
      2 
      3 # My X editor
      4 # Requires: terminal
      5 
      6 editor=${EDITOR:-${VISUAL:-vi}}
      7 xed=${XEDIT:-"terminal "$editor""}
      8 
      9 $xed "$@"