Su : Show su shell name for su.

This commit is contained in:
Dmitry Voronin 2024-10-11 21:55:44 +03:00
parent 532a23788c
commit 9f04869ac7
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -6,6 +6,7 @@
function s() {
su - ''${1}
}
alias su="SHELL_NAME=su su"
# Run something as root. Runs command as a current user if su is not available.
# Usage: sudo <COMMAND>