From 73fa2c800edbdba22c148bb228d76dd658e886b8 Mon Sep 17 00:00:00 2001 From: Alex Date: Sun, 12 Feb 2023 01:23:29 -0600 Subject: [PATCH] better way to fix terminal issues with distrobox, create alias --- .config/aliasrc | 2 ++ .config/zsh/.zshrc | 2 +- .profile | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.config/aliasrc b/.config/aliasrc index 163181b..725f337 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -45,6 +45,8 @@ alias yd='youtube-dl' #dotfiles configuration alias alias config='git --git-dir=$HOME/.cfg/ --work-tree=$HOME' +alias distrobox='TERM=xterm-256color distrobox' + note() { NOTEFILE="$HOME/.cache/notes" if [ "$#" -lt 1 ]; then diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 67952ea..11a7531 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -89,7 +89,7 @@ fi # eval "$(starship init zsh)" #fi -export TERM='xterm-256color' +#export TERM='xterm-256color' # Load zsh-syntax-highlighting; should be last. source $HOME/.local/share/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null diff --git a/.profile b/.profile index 05e91ca..c050c5a 100644 --- a/.profile +++ b/.profile @@ -14,7 +14,7 @@ export PF_INFO="ascii title os kernel uptime pkgs memory shell wm" export XCURSOR_THEME=Adwaita #fix image previews in lf not working -export TERM="xterm-256color" +#export TERM="xterm-256color" #other settings