diff options
author | Adam <56338480+adastx@users.noreply.github.com> | 2022-05-30 21:36:08 +0200 |
---|---|---|
committer | Adam <56338480+adastx@users.noreply.github.com> | 2022-05-30 21:37:55 +0200 |
commit | f6357885cdf0af4b2592713bcbfb3f1abe1760a7 (patch) | |
tree | d2c753caaf0b45cafa3e9f679ed0d258d8ef57ef | |
parent | bb41b0ee835cc6466a81cb8afa9e7b834eda10af (diff) |
moved less colour exports
-rw-r--r-- | .config/zsh/.zprofile | 7 | ||||
-rw-r--r-- | .config/zsh/.zshrc | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/.config/zsh/.zprofile b/.config/zsh/.zprofile index f5d88a1..94b00d6 100644 --- a/.config/zsh/.zprofile +++ b/.config/zsh/.zprofile @@ -25,4 +25,11 @@ export CM_DIR=/tmp export PF_INFO="ascii title os kernel uptime pkgs memory" export QT_QPA_PLATFORMTHEME=qt5ct +export LESS_TERMCAP_mb=$'\E[1;31m' +export LESS_TERMCAP_md=$'\E[1;31m' +export LESS_TERMCAP_me=$'\E[0m' +export LESS_TERMCAP_ue=$'\E[0m' +export LESS_TERMCAP_se=$'\E[0m' +export LESS_TERMCAP_us=$'\E[1;32m' + [[ $(fgconsole 2>/dev/null) == 1 ]] && exec startx $XDG_CONFIG_HOME/X11/xinitrc -- vt1 &> /dev/null diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index df737ba..e43d2d9 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -20,13 +20,6 @@ export EDITOR=vim export VISUAL=vim export PAGER="less -i -j.5 -R" -export LESS_TERMCAP_mb=$'\E[1;31m' -export LESS_TERMCAP_md=$'\E[1;31m' -export LESS_TERMCAP_me=$'\E[0m' -export LESS_TERMCAP_ue=$'\E[0m' -export LESS_TERMCAP_se=$'\E[0m' -export LESS_TERMCAP_us=$'\E[1;32m' - alias sudo='doas' alias sudoedit='doasedit' |