Create Alias for Sudoers

maelamrani

New Member
Credits
47
Hello,
How can i create alias for sudoers for exp
alias vi=vim
because when i exec : sudo vi file i want it to be colored without using vim file
There is a line that i can i add for this alias
alias vi=vim in sudoers file ?
or any other solution
Kind regards,
 




Members online


Top