diff --git a/.local/share/scripts/macho.sh b/.local/share/scripts/macho.sh index 282f333..040615c 100755 --- a/.local/share/scripts/macho.sh +++ b/.local/share/scripts/macho.sh @@ -2,7 +2,7 @@ export FZF_DEFAULT_OPTS=' --prompt="Manual: " ---preview="echo {1} | sed -E \"s/^\((.+)\)/\1/\" | xargs -I{S} man -Pcat {S} {2} 2>/dev/null"' +--preview="echo {1} | sed -E \"s/^\((.+)\)/\1/\" | xargs -I{S} man -Pcat {S} {2} | bat -l man -p --color=always 2>/dev/null"' while getopts ":s:" opt; do case $opt in diff --git a/.local/share/scripts/pacman-browse-aur.sh b/.local/share/scripts/pacman-browse-aur.sh index fbb6d49..e2d2c98 100755 --- a/.local/share/scripts/pacman-browse-aur.sh +++ b/.local/share/scripts/pacman-browse-aur.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash # requires: expac pacman -Qqm | sort | fzf --preview 'pacman -Qil {}' --bind 'enter:execute(pacman -Qil {} | less)' -exit 0 + diff --git a/.local/share/scripts/pacman-browse.sh b/.local/share/scripts/pacman-browse.sh index 050fa1a..254b1fe 100755 --- a/.local/share/scripts/pacman-browse.sh +++ b/.local/share/scripts/pacman-browse.sh @@ -1,4 +1,3 @@ #!/usr/bin/env bash # requires: expac -comm -23 <(pacman -Qqe | sort) <({ pacman -Qqg base-devel; expac -l '\n' '%E' base; } | sort -u) | fzf --preview 'pacman -Qil {}' --bind 'enter:execute(pacman -Qil {} | less)' -exit 0 +pacman -Qqe | fzf --preview 'pacman -Qil {}' --bind 'enter:execute(pacman -Qil {} | less)'