From f78127392f4299bcdca11781924aaafa75731c34 Mon Sep 17 00:00:00 2001 From: Jonathan Schleifer Date: Thu, 10 Sep 2020 20:06:28 +0000 Subject: [PATCH] zshrc: Add SUDO_PROMPT --- zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/zshrc b/zshrc index 6492a4c..050b75a 100644 --- a/zshrc +++ b/zshrc @@ -5,6 +5,7 @@ export EDITOR="vim" export VIMINIT="source $XDG_CONFIG_HOME/vim/vimrc" export PAGER="less" export LS_COLORS='di=34:ow=44;37:tw=44;37:st=44;37:ex=31:su=7;31:sg=7;31:ln=33:or=7;33:pi=32:do=32:bd=35:cd=35:so=32:*.bz2=36:*.dmg=36:*.gz=36:*.gpg=36:*.rar=36:*.tar=36:*.tbz2=36:*.tgz=36:*.xz=36:*.zip=36:*.orig=90:*~=90' +export SUDO_PROMPT=$(printf "\033[1;31m[\033[0;31msudo -> %%U\033[1;31m]\033[0m Password for %%p@%%h: ") export GNUPGHOME="$XDG_DATA_HOME/gnupg" export CVS_RSH="ssh" LISTMAX=32768