dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 8e08fcb1d065063066f25a7a2aec7b72e0a63ed3
parent 725dcb2f13b434707efd4cda4042a3ab1a3ea42c
Author: Janis Pagel <janis.pagel@ims.uni-stuttgart.de>
Date:   Thu, 12 Mar 2020 10:41:02 +0100

Change tty font

Diffstat:
Mzsh/zshrc | 15+++++++++------
1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/zsh/zshrc b/zsh/zshrc @@ -75,7 +75,7 @@ if [ -f /usr/share/zsh/plugins/zsh-history-substring-search/zsh-history-substrin zmodload zsh/terminfo bindkey "$terminfo[kcuu1]" history-substring-search-up bindkey "$terminfo[kcud1]" history-substring-search-down - bindkey '^[[A' history-substring-search-up + bindkey '^[[A' history-substring-search-up bindkey '^[[B' history-substring-search-down fi # Use fish-like autosuggestion @@ -158,7 +158,7 @@ unset SSH_ASKPASS # Customize tty if [ "$TERM" = "linux" ]; then - printf '\033]P03b4252'; # black + printf '\033]P03b4252'; # black printf '\033]P1bf616a'; # red printf '\033]P2a3be8c'; # green printf '\033]P3ebcb8b'; # yellow @@ -175,6 +175,9 @@ if [ "$TERM" = "linux" ]; then printf '\033]PE8fbcbb'; # bright cyan printf '\003]PFeceff4'; # bright white clear; + if [ -f "/usr/share/kbd/consolefonts/ter-v24n.psf.gz" ]; then + setfont ter-v24n + fi fi # added by travis gem @@ -195,7 +198,7 @@ fi unset __conda_setup # <<< conda initialize <<< -# Start X -#if [[ "$(tty)" = "/dev/tty1" ]]; then -# pgrep dwm || startx -#fi +# Start X in tty2 +if [[ "$(tty)" = "/dev/tty2" ]]; then + pgrep dwm || startx +fi