mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-12-22 10:08:58 +00:00
parent
d83e39f1ec
commit
0b9080e0ca
4
tomb
4
tomb
@ -126,8 +126,8 @@ export TEXTDOMAIN=tomb
|
||||
|
||||
# Wrap sudo with a more visible message
|
||||
_sudo() {
|
||||
local sudo_eng="[sudo] Enter password for user ::1 user:: to gain superuser privileges"
|
||||
local msg="$(gettext -s "$sudo_eng")"
|
||||
local msg="[sudo] Enter password for user ::1 user:: to gain superuser privileges"
|
||||
command -v gettext 1>/dev/null 2>/dev/null && msg="$(gettext -s "$msg")"
|
||||
msg=${(S)msg//::1*::/$USER}
|
||||
sudo -p "
|
||||
$msg
|
||||
|
Loading…
Reference in New Issue
Block a user