bin: fix pagination
This commit is contained in:
parent
9056b4f474
commit
bc37867fc3
|
@ -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)'
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
5
.zshenv
5
.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'
|
||||
|
|
Loading…
Reference in New Issue