X-Git-Url: https://git.xandkar.net/?a=blobdiff_plain;f=home%2Flib%2Flogin_functions.sh;h=8f200aa70c99cf65171a184722b8605cebd1e471;hb=67cb3891c54db66b1f953393ea0ced5391bd803b;hp=451769715011a1684dcb7c586a3be0faff52d5cd;hpb=87b05c1baf6a43c6c31bdbd06928ce16ec58620f;p=khome.git diff --git a/home/lib/login_functions.sh b/home/lib/login_functions.sh index 4517697..8f200aa 100644 --- a/home/lib/login_functions.sh +++ b/home/lib/login_functions.sh @@ -206,12 +206,22 @@ void_pkgs() { # Colorful man man() { - LESS_TERMCAP_md=$'\e[01;31m' \ + # mb: begin blink + # md: begin bold + # me: end bold, blink and underline + # + # so: begin standout (reverse video) + # se: end standout + # + # us: begin underline + # ue: end underline + + LESS_TERMCAP_md=$'\e[01;30m' \ LESS_TERMCAP_me=$'\e[0m' \ - LESS_TERMCAP_se=$'\e[0m' \ LESS_TERMCAP_so=$'\e[01;44;33m' \ + LESS_TERMCAP_se=$'\e[0m' \ + LESS_TERMCAP_us=$'\e[01;33m' \ LESS_TERMCAP_ue=$'\e[0m' \ - LESS_TERMCAP_us=$'\e[01;32m' \ command man "$@" } @@ -317,7 +327,7 @@ weather() { '') _weather_location="$WEATHER_LOCATION";; *) _weather_location="$1" esac - curl "http://wttr.in/$_weather_location" + curl "http://wttr.in/$_weather_location?format=v2" } bt_devs_paired() {