# pentest.zsh — entry point sourced from ~/.zshrc by the installer.# Loads config, oh-my-zsh + plugins, aliases, functions, and the prompt.# zsh only.[ -n "${ZSH_VERSION:-}"]||return0# This file lives at $PE_CONFIG_DIR/zsh/pentest.zsh -> derive the config dir.: "${PE_CONFIG_DIR:=${0:A:h:h}}"export PE_CONFIG_DIR
source"$PE_CONFIG_DIR/config.sh"# Expose the isolated user toolchains. Go deliberately precedes ~/.local/bin:# ProjectDiscovery's `httpx` should win over the unrelated Python CLI.typeset -gU path PATH
path=("$HOME/go/bin""$HOME/.cargo/bin""$HOME/.local/bin"$path)export PATH
# oh-my-zsh + plugin ecosystem, then our customizations. Order matters:# syntax-highlighting is sourced LAST, inside plugins.zsh.source"$PE_CONFIG_DIR/zsh/plugins.zsh"source"$PE_CONFIG_DIR/zsh/aliases.zsh"source"$PE_CONFIG_DIR/zsh/functions.zsh"source"$PE_CONFIG_DIR/zsh/prompt.zsh"# Personal overrides survive future pentest-env updates.[[ -r "$HOME/.config/zsh/local.zsh"]]&&source"$HOME/.config/zsh/local.zsh"# zsh-syntax-highlighting must be sourced after every widget is defined._pe_zsh_hl="$ZSH_CUSTOM/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"[[ -r $_pe_zsh_hl]]&&source"$_pe_zsh_hl"unset _pe_zsh_hl