summaryrefslogtreecommitdiff
path: root/dot-bashrc
diff options
context:
space:
mode:
authorJosé Juan Loeza Sierra <jj@xz6ze.com>2025-10-10 15:33:52 -0700
committerJosé Juan Loeza Sierra <jj@xz6ze.com>2025-10-10 15:33:52 -0700
commit3b997f857f72cae40a0d856f762b3a721d908e7b (patch)
treecf3452e1970c257d4885cc067d9123d20cb1cccf /dot-bashrc
parent5ba4d843f8912a76597284660f5185fd42f7aa34 (diff)
reformat packages alias
Diffstat (limited to 'dot-bashrc')
-rw-r--r--dot-bashrc7
1 files changed, 6 insertions, 1 deletions
diff --git a/dot-bashrc b/dot-bashrc
index 1511798..145e2fc 100644
--- a/dot-bashrc
+++ b/dot-bashrc
@@ -58,7 +58,12 @@ alias pacbd="cd && pacman -Qqe > pkglist.txt && expac --timefmt='%Y-%m-%d %T' '%
# Query packages with fzf
# adapted from: https://www.reddit.com/r/archlinux/comments/xyjolo/using_fzf_to_search_pacman_database_including/
-alias packages="pacman -Ss | paste -d '' - - | sed -e 's|/|\t|' | fzf --multi --preview 'pacman -Siiv {2}' --tiebreak begin -e | rg '\t([^\s]+)' -o --trim | xargs -ro sudo pacman -S"
+alias packages="pacman -Ss \
+ | paste -d '' - - \
+ | sed -e 's \/ \t ' \
+ | fzf --multi --preview 'pacman -Siiv {2}' --tiebreak begin -e \
+ | rg '\t([^\s]+)' -o --trim \
+ | xargs -ro sudo pacman -S"
# distrobox dev environment
alias dev="distrobox enter dev"