Fixed a few issues with .zshrc on my arch install
This commit is contained in:
parent
f497712ae4
commit
9c91b52508
10
zsh/.zshrc
10
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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user