diff --git a/.bash_aliases b/.bash_aliases index 55bc4d2..98d0805 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -15,6 +15,7 @@ status() { free -h df -h -T --exclude-type=tmpfs --exclude-type=devtmpfs --exclude-type=squashfs --exclude-type=overlay zfs list -d 0 + sudo certbot certificates highlight 'Internet' #--color=always ip -brief address | grep --color=none -E '^(wl|en|tun|vmbr)' diff --git a/.local/bin/scripts/b b/.local/bin/scripts/b index 13c606f..806ed48 100755 --- a/.local/bin/scripts/b +++ b/.local/bin/scripts/b @@ -176,7 +176,7 @@ if test "$timg"; then fi fi -pager="${PAGER:-'less -RF'}" +pager="${PAGER:-'less -rF'}" # bat: unknown files # batplain: files to print without header if test "$bat" -o "$batplain"; then diff --git a/.local/bin/scripts/swaylist b/.local/bin/scripts/swaylist index cbd0f84..df54d2f 100755 --- a/.local/bin/scripts/swaylist +++ b/.local/bin/scripts/swaylist @@ -1,3 +1,3 @@ #!/bin/sh -e # TODO completion: tree, outputs, inputs, ... -unbuffer swaymsg -t get_$1 | (test "$1" = tree && jq -C || cat) | less -RF +unbuffer swaymsg -t get_$1 | less -Fr diff --git a/.zshenv b/.zshenv index cb8b6b7..f499828 100644 --- a/.zshenv +++ b/.zshenv @@ -95,7 +95,7 @@ export EDITOR="$( )" export LS_OPTIONS='--color=auto --human-readable --si --group-directories-first --file-type --dereference-command-line' -export LESS="--RAW-CONTROL-CHARS --ignore-case --LONG-PROMPT --jump-target=5 $(test $(less --version | head -1 | cut -f2 -d' ') -ge 590 && echo --incsearch)" +export LESS="--raw-control-chars --ignore-case --LONG-PROMPT --jump-target=5 $(test $(less --version | head -1 | cut -f2 -d' ') -ge 590 && echo --incsearch)" # TODO put into config file and use --exclude-from # -x 'System Volume Information' export DIRS_GENERATED="-x generated -x .gradle -x cmake_build -x dist-newstyle -x node_modules -x __pycache__" @@ -149,3 +149,6 @@ export FZF_CTRL_T_COMMAND="$FD_BASE -d 7" export CTEST_PROGRESS_OUTPUT=1 export CTEST_OUTPUT_ON_FAILURE=1 export CTEST_PARALLEL_LEVEL=3 + +autolight +#export TZ='Europe/Dublin'