aboutsummaryrefslogblamecommitdiff
path: root/sh/profile.d/visual.sh
blob: d5280abdfdf05408adee1fe9d316df9afc950897 (plain) (tree)
1
2
3
4
5
6
7
8



                                                                              
    
               
  
             
# If my Emacs wrapper is installed, use emacs as the visual editor; otherwise,
# use the system's vi
if command -v emacsm >/dev/null 2>&1 ; then
    VISUAL='emacsm'
else
    VISUAL='vi'
fi
export VISUAL