safer sudo -e

Sun, 12 Feb 2017 17:32:18 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 12 Feb 2017 17:32:18 -0500
changeset 514
d596509d91f0
parent 513
a8caf462bfc0
child 515
199b08808ed5

safer sudo -e

.profile.common file | annotate | diff | comparison | revisions
--- a/.profile.common
+++ b/.profile.common
@@ -3,6 +3,7 @@
 make -s -C ~/.ssh
 
 export EDITOR=vim
+export SUDO_EDITOR=$HOME/bin/privim
 export LESS='Ri'
 export PERL_CPANM_OPT='-nq --prompt'
 export DEVEL_REPL_PROFILE='Standard'

mercurial