From 9c91b525087a68a72722236d3364398304f4ab7e Mon Sep 17 00:00:00 2001 From: Random936 Date: Wed, 5 Jul 2023 19:08:17 -0700 Subject: [PATCH] Fixed a few issues with .zshrc on my arch install --- zsh/.zshrc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index a084d9b..a7d2958 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -231,6 +231,15 @@ else fi +if [ -f "/usr/share/doc/pkgfile/command-not-found.zsh" ]; then + source /usr/share/doc/pkgfile/command-not-found.zsh +else + echo "command-not-found not installed" +fi + +# Fix arch linux valgrind issue. +[[ $(uname -r) == *"arch"* ]] && export DEBUGINFOD_URLS="https://debuginfod.archlinux.org" + # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh @@ -263,3 +272,4 @@ export fasttrack="/usr/share/seclists/Passwords/fasttrack.txt" # Ease of use alias tryhackme="sudo openvpn ~/.tryhackme.ovpn" alias vim="nvim" +alias emacs="emacsclient -c"