Overview
Comment: | Make SUDO_PROMPT less blinding |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
84ee6c3f2b2dcff785dce3a73238dede |
User & Date: | js 2020-09-11 12:51:39 |
Context
2020-09-12
| ||
13:17 | Rename gpg-s* to gs* check-in: ce84ad04e7 user: js tags: trunk | |
2020-09-11
| ||
12:51 | Make SUDO_PROMPT less blinding check-in: 84ee6c3f2b user: js tags: trunk | |
2020-09-10
| ||
20:49 | Improve SUDO_PROMPT check-in: c43b45da28 user: js tags: trunk | |
Changes
Changes to fish/config.fish.
︙ | ︙ | |||
31 32 33 34 35 36 37 | or set -x XDG_CACHE_HOME $HOME/.cache test -n "$XDG_DATA_HOME" or set -x XDG_DATA_HOME $HOME/.local/share set -x EDITOR vim set -x VIMINIT "source $XDG_CONFIG_HOME/vim/vimrc" set -x 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' | | | 31 32 33 34 35 36 37 38 39 40 | or set -x XDG_CACHE_HOME $HOME/.cache test -n "$XDG_DATA_HOME" or set -x XDG_DATA_HOME $HOME/.local/share set -x EDITOR vim set -x VIMINIT "source $XDG_CONFIG_HOME/vim/vimrc" set -x 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' set -x SUDO_PROMPT (printf "\033[0;31m[\033[1;31msudo -> %%U\033[0;31m]\033[0m Password for \033[1m%%p@%%h\033[0m: ") set -x GNUPGHOME $XDG_DATA_HOME/gnupg set -x CVS_RSH ssh |
Changes to zshrc.
1 2 3 4 5 6 7 | export XDG_CONFIG_HOME="$HOME/.config" export XDG_CACHE_HOME="$HOME/.cache" export XDG_DATA_HOME="$HOME/.local/share" 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' | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | export XDG_CONFIG_HOME="$HOME/.config" export XDG_CACHE_HOME="$HOME/.cache" export XDG_DATA_HOME="$HOME/.local/share" 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[0;31m[\033[1;31msudo -> %%U\033[0;31m]\033[0m Password for \033[1m%%p@%%h\033[0m: ") export GNUPGHOME="$XDG_DATA_HOME/gnupg" export CVS_RSH="ssh" LISTMAX=32768 WORDCHARS="*?[];!#~" local grep="" local grep_color="auto" local ls="" |
︙ | ︙ |