update
This commit is contained in:
1 file changed
+1
@@ -81,6 +81,7 @@ _fzf_comprun() {
|
|||||||
ssh|mosh|exssh) fzf --preview 'ssh -tt -G {} | head -n 4' "$@" ;;
|
ssh|mosh|exssh) fzf --preview 'ssh -tt -G {} | head -n 4' "$@" ;;
|
||||||
cd|ls|ll) fzf --preview 'tree -C -L1 {} | head -200' "$@" ;;
|
cd|ls|ll) fzf --preview 'tree -C -L1 {} | head -200' "$@" ;;
|
||||||
cat|nano|micro|vi|vim|nvim) fzf --preview 'cat -s {} | 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}' "$@" ;;
|
||||||
*) fzf "$@" ;;
|
*) fzf "$@" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user