|
NAMEfish_is_root_user - check if the current user is rootSYNOPSISfish_is_root_user DESCRIPTIONfish_is_root_user will check if the current user is root. It can be useful for the prompt to display something different if the user is root, for example.EXAMPLEA simple example:function example --description 'Just an example' if fish_is_root_user do_something_different end end COPYRIGHT2021, fish-shell developers
Visit the GSP FreeBSD Man Page Interface. |