* automatic attach tmux for all cases include existing $TMUX variable, but only if contains double slash in the contain path (that is signal about parent TMUX session - may be unstable solution) * reassign PATH variable in shell-env bashrc include script for resolve incorrect value of that if use pct enter command in proxmox * information marker about turned off modifier key of nested session
29 lines
435 B
Bash
29 lines
435 B
Bash
# vim: set ft=sh sw=2 et :
|
|
|
|
##
|
|
## Editors
|
|
##
|
|
export EDITOR=nvim
|
|
export TERMINAL=alacritty
|
|
export GIT_EDITOR="$EDITOR"
|
|
export USE_EDITOR="$EDITOR"
|
|
export VISUAL=$EDITOR
|
|
export PAGER=less
|
|
|
|
##
|
|
## Pager
|
|
##
|
|
export PAGER=less
|
|
export LESS='-iFMRSX -x4'
|
|
|
|
if [ -f "$HOME/.shell-env.local" ]; then
|
|
. "$HOME/.shell-env.local"
|
|
fi
|
|
|
|
umask 022
|
|
|
|
##
|
|
## Correct PATH for tmux enter
|
|
##
|
|
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|