This commit is contained in:
hl committed 2026-01-18 20:07:08 +08:00
1 parent d14f5f7617
commit 6f82478a7c
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -81,7 +81,7 @@ _fzf_comprun() {
ssh|mosh|exssh) fzf --preview 'ssh -tt -G {} | head -n 4' "$@" ;;
cd|ls|ll) fzf --preview 'tree -C -L1 {} | head -200' "$@" ;;
cat|nano|micro|vi|vim|nvim) fzf --preview 'cat -s {} | head -200' "$@" ;;
nala|apt|dpkg) dpkg --get-selections | grep -v deinstall | awk '{print \$1}' | fzf --multi --preview 'dpkg -s {1}' "$@" ;;
nala|apt|dpkg) apt-cache search '' | awk '{print \$1}' | fzf --multi --preview 'apt-cache show {1}' "$@" ;;
*) fzf "$@" ;;
esac
}