Overview
Comment: | Improve SUDO_PROMPT |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
c43b45da280bbc07c83157f13d25d376 |
User & Date: | js on 2020-09-10 20:49:57 |
Other Links: | manifest | tags |
Context
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 | |
20:07 | fish: Add SUDO_PROMPT check-in: b81893b269 user: js tags: trunk | |
Changes
Modified fish/config.fish from [5e9126fe8e] to [38fe667d79].
︙ | ︙ | |||
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 \033[0;35mPassword for \033[1;35m%%p@%%h\033[0;35m: \033[0m") set -x GNUPGHOME $XDG_DATA_HOME/gnupg set -x CVS_RSH ssh |
Modified zshrc from [1f40c277b1] to [6c19d53416].
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 \033[0;35mPassword for \033[1;35m%%p@%%h\033[0;35m: \033[0m") export GNUPGHOME="$XDG_DATA_HOME/gnupg" export CVS_RSH="ssh" LISTMAX=32768 WORDCHARS="*?[];!#~" local grep="" local grep_color="auto" local ls="" |
︙ | ︙ |