I have modified ~/.bashrc to include the following: Code: alias wp='/usr/bin/wp --allow-root' Why don't you just automatically include this alias? I am stick of typing --allow-root! Thanks. /rant
haha.. never got around to it I should do that but then again all the instructions here now have --allow-root, so having alias would give Code (Text): wp --allow-root --allow-root OPTION etc edit: ah that doesn't happen ! which means i'd have to instruct folks to disable the alias LOL Code (Text): \wp OPTION etc hmm if you setup an alias for wp, might have issues with centmin mod routines that call wp command like centmin.sh menu option 22 ! i'd need to add a check for whether wp alias is set in such routines !
its a simple improvement which will make things easier as sys-admin... ultimately, I guess you could reduce the size of the centmin scripts a bit by removing all the --allow-root in the sources.
not many instances really Beta Branch - update inc/wpsetup.inc disable any wp-cli wp aliases in 123.09beta01 | Centmin Mod Community and update inc/wpsetup.inc disable any wp-cli wp aliases in 123.09beta01 · centminmod/centminmod@d60d893 · GitHub