From 89ca5d4f5b0e361d42d4922fa0748a823b0adcf7 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 18 Feb 2017 14:16:05 +0100 Subject: .zsh.after/aliases.zsh: Fixing the pacconf command to properly find files exclusively. --- .zsh.after/aliases.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.zsh.after') diff --git a/.zsh.after/aliases.zsh b/.zsh.after/aliases.zsh index c0cd73a..ce58e3f 100644 --- a/.zsh.after/aliases.zsh +++ b/.zsh.after/aliases.zsh @@ -172,7 +172,7 @@ alias pacorph='sudo pacman -Qdt' #Search for orphan packages alias paclal='sudo pacman -Ql' #List installed files of a given package alias pacg='pacman -Sg' #List all groups or all packages in specified group alias pacclean='sudo pacman -Sc' #Remove all packages from local repository, not installed atm, remove all unused repos -alias pacconf='sudo find /etc -name "*.pac*" -type f -print' #Search for .pacnew and .pacsave files +alias pacconf='sudo find /etc -type f \( -name "*.pacsave" -o -name "*.pacnew" \)' #Search for .pacnew and .pacsave files alias pacfile='sudo pacman -Qo' # Find out what package a give file belongs to alias pacupd='sudo pacman -Sy && sudo abs' #Update and refresh the local package and ABS databases against repositories alias pacdep='sudo pacman -S --asdeps' #Install given package(s) as dependencies of another package -- cgit v1.2.3-54-g00ecf