1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Install pkgfile for command-not-found in zsh

This commit is contained in:
Joe Groocock 2017-02-25 02:47:06 +00:00
parent dc2dcedb57
commit 997b43ba7b
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -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"