1
1
Fork 0

Use full host for tmux and sudo

This commit is contained in:
Jonathan Schleifer 2022-01-07 16:06:48 +00:00
parent ddbd5a515c
commit 4c97950fdd
3 changed files with 3 additions and 3 deletions

View file

@ -35,6 +35,6 @@ or set -x XDG_DATA_HOME $HOME/.local/share
set -x EDITOR vim set -x EDITOR vim
set -x VIMINIT "source $XDG_CONFIG_HOME/vim/vimrc" 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 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 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 GNUPGHOME $XDG_DATA_HOME/gnupg
set -x CVS_RSH ssh set -x CVS_RSH ssh

View file

@ -4,7 +4,7 @@ setw -g mode-keys vi
set -g escape-time 0 set -g escape-time 0
set -g status-style bg=colour233,fg=colour25 set -g status-style bg=colour233,fg=colour25
set -g status-left "#[fg=colour52]#S " set -g status-left "#[fg=colour52]#S "
set -g status-right "#[fg=colour22]#(whoami)#[fg=colour28]@#h #[fg=colour40]#(date +%H:%M)" set -g status-right "#[fg=colour22]#(whoami)#[fg=colour28]@#H #[fg=colour40]#(date +%H:%M)"
set -w -g window-status-current-style fg=colour39,bg=colour236 set -w -g window-status-current-style fg=colour39,bg=colour236
set -w -g window-status-bell-style fg=colour233,bg=colour124 set -w -g window-status-bell-style fg=colour233,bg=colour124
bind c new-window -c "#{pane_current_path}" bind c new-window -c "#{pane_current_path}"

2
zshrc
View file

@ -5,7 +5,7 @@ export EDITOR="vim"
export VIMINIT="source $XDG_CONFIG_HOME/vim/vimrc" export VIMINIT="source $XDG_CONFIG_HOME/vim/vimrc"
export PAGER="less" 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 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 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 GNUPGHOME="$XDG_DATA_HOME/gnupg"
export CVS_RSH="ssh" export CVS_RSH="ssh"
LISTMAX=32768 LISTMAX=32768