diff options
author | Adam <adam@adast.xyz> | 2022-05-31 00:29:41 +0200 |
---|---|---|
committer | Adam <adam@adast.xyz> | 2022-05-31 00:31:16 +0200 |
commit | 6b80da230fd5c053acdaec76b97088d83fba8cc5 (patch) | |
tree | 0c01aeb03fee7040f45bdd5416ff91a64595f6ed | |
parent | bef40651a883318f28e8121239a3e096a7c3cc95 (diff) |
moved less colour exports
-rw-r--r-- | .bash_profile | 7 | ||||
-rw-r--r-- | .bashrc | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/.bash_profile b/.bash_profile index e8d9314..2c2d5a5 100644 --- a/.bash_profile +++ b/.bash_profile @@ -30,5 +30,12 @@ export CM_SELECTIONS=clipboard export CM_DIR=/tmp export PF_INFO="ascii title os kernel uptime pkgs memory" +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 [[ -f ~/.bashrc ]] && . ~/.bashrc @@ -16,13 +16,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' |