mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-12-22 10:42:55 +01:00
bashrc & zshrc: add colours to less
This commit is contained in:
parent
cf0bcb71a9
commit
48221d6c82
@ -1,7 +1,6 @@
|
||||
export EDITOR=vim # MKAYSIGREP MKAYSIGREPENVIRONMENT
|
||||
export LC_ALL=fi_FI.utf8 # MKAYSIGREP # MKAYSIGREPENVIRONMENT
|
||||
export TZ="/usr/share/zoneinfo/Europe/Helsinki" # MKAYSIGREP #MKAYSIGREPENVIRONMENT
|
||||
export PAGER=most # MKAYSIGREP # MKAYSIGREPENVIRONMENT
|
||||
export EDITOR=vim # MKAYSIGREP # MKAYSIGREPENVIRONMENT
|
||||
export LC_ALL=fi_FI.utf8 # MKAYSIGREP # MKAYSIGREPENVIRONMENT
|
||||
export TZ="/usr/share/zoneinfo/Europe/Helsinki" # MKAYSIGREP # MKAYSIGREPENVIRONMENT
|
||||
|
@ -16,6 +16,6 @@
|
||||
status = true
|
||||
ui = true
|
||||
[user]
|
||||
#name = Mika Suomalainen
|
||||
#email = mkaysi@outlook.com
|
||||
#signingkey = 0x4DB53CFE82A46728
|
||||
name = Mika Suomalainen
|
||||
email = mkaysi@outlook.com
|
||||
signingkey = 0x4DB53CFE82A46728
|
||||
|
@ -7,4 +7,5 @@ mkdir -p ~/.gnupg
|
||||
cat .gpg.conf.MKAYSIGREP > ~/.gnupg/gpg.conf
|
||||
cat .pastebinit.xml.MKAYSIGREP > ~/.pastebinit.xml
|
||||
cat .environment.MKAYSIGREP > ~/.environment
|
||||
cat .gitconfig.MKAYSIGREP > ~/.gitconfig
|
||||
# vim : set ft=sh :
|
||||
|
11
bashrc
11
bashrc
@ -173,8 +173,15 @@ PATH=$HOME/.local/bin:$HOME/.local/games:$PATH
|
||||
#export HOME=<path to new home>
|
||||
#cd
|
||||
|
||||
# Uses most as the default pager if you uncomment line below. (You will also get colourful manpages :D).
|
||||
#export PAGER=most # MKAYSIGREP # MKAYSIGREPENVIRONMENT
|
||||
# Colours to less
|
||||
# Copied from http://nion.modprobe.de/blog/archives/572-less-colors-for-man-pages.html
|
||||
export LESS_TERMCAP_mb=$'\E[01;31m'
|
||||
export LESS_TERMCAP_md=$'\E[01;31m'
|
||||
export LESS_TERMCAP_me=$'\E[0m'
|
||||
export LESS_TERMCAP_se=$'\E[0m'
|
||||
export LESS_TERMCAP_so=$'\E[01;44;33m'
|
||||
export LESS_TERMCAP_ue=$'\E[0m'
|
||||
export LESS_TERMCAP_us=$'\E[01;32m'
|
||||
|
||||
# Sets environmnet variable CPUARCH to output of "uname -p"
|
||||
CPUARCH=`uname -p`
|
||||
|
11
zshrc
11
zshrc
@ -103,8 +103,15 @@ PATH=$HOME/.local/bin:$HOME/.local/games:$PATH
|
||||
#export HOME=<path to new home>
|
||||
#cd
|
||||
|
||||
# Uses most as the default pager if you uncomment line below. (You will also get colourful manpages :D).
|
||||
#export PAGER=most # MKAYSIGREP # MKAYSIGREPENVIRONMENT
|
||||
# Colours to less
|
||||
# Copied from http://nion.modprobe.de/blog/archives/572-less-colors-for-man-pages.html
|
||||
export LESS_TERMCAP_mb=$'\E[01;31m'
|
||||
export LESS_TERMCAP_md=$'\E[01;31m'
|
||||
export LESS_TERMCAP_me=$'\E[0m'
|
||||
export LESS_TERMCAP_se=$'\E[0m'
|
||||
export LESS_TERMCAP_so=$'\E[01;44;33m'
|
||||
export LESS_TERMCAP_ue=$'\E[0m'
|
||||
export LESS_TERMCAP_us=$'\E[01;32m'
|
||||
|
||||
# Sets environmnet variable CPUARCH to output of "uname -p"
|
||||
CPUARCH=`uname -p`
|
||||
|
Loading…
Reference in New Issue
Block a user