From 9f04869ac74cd295770a6bd645dd42a74ad54e6c Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Fri, 11 Oct 2024 21:55:44 +0300 Subject: [PATCH] Su : Show su shell name for su. --- home/program/bash/module/Su.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home/program/bash/module/Su.nix b/home/program/bash/module/Su.nix index 9e6023b..e05b200 100644 --- a/home/program/bash/module/Su.nix +++ b/home/program/bash/module/Su.nix @@ -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