Create Alias for Sudoers

maelamrani

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


$100 Digital Ocean Credit
Get a free VM to test out Linux!


Top