aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2017-02-18 14:16:05 +0100
committerDavid Runge <dave@sleepmap.de>2017-02-18 14:16:05 +0100
commit89ca5d4f5b0e361d42d4922fa0748a823b0adcf7 (patch)
treefe84eb65712300dc82c57e387a45b50f7a4ba27c
parent9da64d04c12f62a944af9da0f1ac0c959cbb2373 (diff)
downloaddotfiles-89ca5d4f5b0e361d42d4922fa0748a823b0adcf7.tar.gz
dotfiles-89ca5d4f5b0e361d42d4922fa0748a823b0adcf7.tar.bz2
dotfiles-89ca5d4f5b0e361d42d4922fa0748a823b0adcf7.tar.xz
dotfiles-89ca5d4f5b0e361d42d4922fa0748a823b0adcf7.zip
.zsh.after/aliases.zsh: Fixing the pacconf command to properly find files exclusively.
-rw-r--r--.zsh.after/aliases.zsh2
1 files changed, 1 insertions, 1 deletions
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