This commit is contained in:
hl committed 2024-11-16 01:46:29 +08:00
1 parent ee5cde0997
commit 1f0b08605a
1 file changed
+1 -1
+1 -1
View File
@@ -107,7 +107,7 @@ export PATH=$HOME/.yarn/bin:$HOME/.local/bin:$PATH
eval "$(zoxide init --cmd cd zsh)"
function fzf_packages(){
local cmd="dpkg --get-selections | grep -v deinstall | awk '{print $1}' | fzf --multi --preview 'dpkg -s {1}' | command tr '\n' ' '"
local cmd="dpkg --get-selections | grep -v deinstall | awk '{print \$1}' | fzf --multi --preview 'dpkg -s {1}' | command tr '\n' ' '"
setopt localoptions pipefail no_aliases 2> /dev/null
LBUFFER=${LBUFFER}$(eval $cmd)
local ret=$?