Create Alias for Sudoers

maelamrani

Member
Credits
121
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,
 





Latest posts

Top