fix(find-the-command): disable find-the-command when pacman not present

This commit is contained in:
Jiří Štefka 2023-09-20 14:07:01 +02:00
parent 67ec855327
commit 26feec573c
Signed by: jiriks74
GPG key ID: 1D5E30D3DB2264DE

6
zshrc
View file

@ -54,5 +54,9 @@ source $HOME/zsh/web-search/web_search.plugin.zsh 2>/dev/null
source $HOME/zsh/oh-my-zsh-dirhistory/dirhistory.plugin.zsh 2>/dev/null
source $HOME/zsh/zsh-z/zsh-z.plugin.zsh 2>/dev/null
source $HOME/zsh/custom-zshrc 2>/dev/null
source $HOME/zsh/find-the-command/usr/share/doc/find-the-command/ftc.zsh 2>/dev/null
alias mon2cam="deno run --unstable -A -r -q https://raw.githubusercontent.com/ShayBox/Mon2Cam/master/src/mod.ts"
# If on archlinus enable following plugin
if [ -e /bin/pacman ]; then
source $HOME/zsh/find-the-command/usr/share/doc/find-the-command/ftc.zsh 2>/dev/null
fi