aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Cabergs <me@cacharle.xyz>2021-08-23 22:47:58 +0200
committerCharles Cabergs <me@cacharle.xyz>2021-08-23 22:47:58 +0200
commit04bb6725e3605567fca9b98b7aee8077dcc030b4 (patch)
treef4c5160d467774b8732ea00667e2e89e86318471
parent4a2a439f9f54acc553b40be12be68e3e2a8a055f (diff)
downloaddotfiles-04bb6725e3605567fca9b98b7aee8077dcc030b4.tar.gz
dotfiles-04bb6725e3605567fca9b98b7aee8077dcc030b4.tar.bz2
dotfiles-04bb6725e3605567fca9b98b7aee8077dcc030b4.zip
Added command-not-found package list to zsh
-rw-r--r--config/zsh/.zshrc18
1 files changed, 11 insertions, 7 deletions
diff --git a/config/zsh/.zshrc b/config/zsh/.zshrc
index 7cc7bab..0b28a0f 100644
--- a/config/zsh/.zshrc
+++ b/config/zsh/.zshrc
@@ -68,13 +68,6 @@ chpwd() {
# shellcheck disable=SC2034,SC2039,SC3030
fignore=(o hi) # ignore extensions in autocomplete
-# pluggins
-# shellcheck source=/dev/null
-. "$XDG_DATA_HOME/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" # prompt syntax highlight
-
-export YSU_MESSAGE_POSITION="after" # you-should-use message after command output
-. "$XDG_DATA_HOME/zsh/zsh-you-should-use/you-should-use.plugin.zsh" # alias reminder
-
# set tab to 4 spaces
tabs 4
@@ -82,3 +75,14 @@ GPG_TTY=$(tty) # fixing gpg fatal error about tty
export GPG_TTY
export BAT_THEME='gruvbox-dark' # gruvbox theme for bat (fancy cat)
+
+# pluggins
+# shellcheck source=/dev/null
+. "$XDG_DATA_HOME/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" # prompt syntax highlight
+
+export YSU_MESSAGE_POSITION="after" # you-should-use message after command output
+. "$XDG_DATA_HOME/zsh/zsh-you-should-use/you-should-use.plugin.zsh" # alias reminder
+
+# install pkgfile package on Arch Linux
+# run `pkgfile --update`
+. /usr/share/doc/pkgfile/command-not-found.zsh