summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2024-06-28 16:07:19 +0800
committerlittleblack111 <littleblack11111@gmail.com>2024-06-28 16:07:19 +0800
commit15014414a3adaeffed33bff49bebcf8db89b9fd1 (patch)
treef927b973961efa7d7806722219dab451c4a5c097
parentf1f838f8e084ee1b3f359903796e9e1d2f3fb5df (diff)
fixed random error cuzed by same closing quote which ended the line to another type
-rwxr-xr-xaliases.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/aliases.zsh b/aliases.zsh
index 34bed09..448b2f3 100755
--- a/aliases.zsh
+++ b/aliases.zsh
@@ -441,7 +441,7 @@ alias update='sudo npm update -g & nix-env -u & brew update & yay -Sl > /tmp/yay
alias upgrade='update'
# more pacman alis
alias packagelistignoreall='paru --color always -Sl | sed -e "s: :/:; s/ unknown-version//; /已安装/d" | fzf --multi --ansi --preview "yay -Si {1}" | cut -d" " -f1 | xargs -ro yay -S'
-alias packagelist='paru --color always -Sl | fzf --multi --ansi --preview "yay -Si {2}" | awk '{print $2}' | xargs -ro yay -S'
+alias packagelist='paru --color always -Sl | fzf --multi --ansi --preview "yay -Si {2}" | awk "{print $2}" | xargs -ro yay -S'
# alias packagelist='paru --color always -Sl | sed -e "s: :/:; /unknown-version/d" | fzf --multi --ansi --preview "yay -Si {1}" | cut -d" " -f1 | xargs -ro yay -S'
alias packagef="/usr/bin/cat /tmp/yaySl | cut -d' ' -f2 | fzf --multi --ansi --preview 'yay -Si {1}' | xargs -ro paru -S --skipreview --needed"
alias package='packagelist'