mybin

my ~/bin
git clone https://a3nm.net/git/mybin/
Log | Files | Refs | README

wim (96B)


      1 #!/bin/bash
      2 
      3 # vi `which cmd`
      4 
      5 P=$(which $*)
      6 if [ -f "$P" ]
      7 then
      8   $EDITOR $P
      9 else
     10   echo $P
     11 fi