truecolor is upon us (tmux), so switch back to termite
This commit is contained in:
parent
6b6a048cd4
commit
5f2c7293a4
4 changed files with 10 additions and 9 deletions
8
shellrc
8
shellrc
|
@ -21,6 +21,10 @@ if [[ -z ${fqdn} ]]; then
|
|||
export fqdn="$(hostname)"
|
||||
fi
|
||||
|
||||
if [[ ${TERM} == "xterm-termite" || -n ${TMUX} ]]; then
|
||||
export NVIM_TUI_ENABLE_TRUE_COLOR=1
|
||||
fi
|
||||
|
||||
newline="
|
||||
"
|
||||
vscripts="${HOME}/vscripts"
|
||||
|
@ -108,14 +112,11 @@ alias sup='command svn up'
|
|||
# }}}
|
||||
# {{{ common functions
|
||||
screenoff-disable() { xset -dpms; xset s off; }
|
||||
|
||||
screenoff-enable() { xset +dpms; xset s on; }
|
||||
|
||||
dotfiles-update() { git --work-tree="${dotfiles}" --git-dir="${dotfiles}/.git" pull; }
|
||||
|
||||
if ! is_ksh; then
|
||||
hide-info() { hide_info=true; }
|
||||
|
||||
unhide-info() { unset hide_info; }
|
||||
fi
|
||||
|
||||
|
@ -126,6 +127,7 @@ tmuxrc() { tmux source-file "${HOME}/.tmux.conf"; tmux display-message "Config r
|
|||
if [[ -z "${DISPLAY}" ]]; then
|
||||
x() { exec xinit -- :0 -nolisten tcp vt$XDG_VTNR; }
|
||||
fi
|
||||
|
||||
# }}}
|
||||
if is_ksh; then # {{{
|
||||
# {{{ ~ options
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue