From 997b43ba7bebf0523ba7542b18fb2abd6cbd357b Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Sat, 25 Feb 2017 02:47:06 +0000 Subject: [PATCH] Install pkgfile for command-not-found in zsh --- scripts/zsh-setup | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/zsh-setup b/scripts/zsh-setup index b115c99..7082432 100755 --- a/scripts/zsh-setup +++ b/scripts/zsh-setup @@ -1,6 +1,11 @@ #!/bin/sh set -e +# Install pkgfile for command-not-found support +sudo pacman -S pkgfile --no-confirm --needed +sudo systemctl enable --now pkgfile-update.service +pkgfile --update + dest="$HOME/.local/share" mkdir -p "$dest" cd "$dest"