28 lines
693 B
Bash
28 lines
693 B
Bash
# ---- TMUX-RECON zsh.zsh ----
|
|
|
|
# source custom aliases if exists
|
|
[ -f ~/.aliases.sh ] && source ~/.aliases.sh
|
|
|
|
# add .scripts to path
|
|
export PATH="$HOME/.scripts:$PATH"
|
|
|
|
# zoxide (if installed)
|
|
if command -v zoxide &> /dev/null; then
|
|
eval "$(zoxide init zsh)"
|
|
fi
|
|
|
|
# fzf (if installed)
|
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
|
|
|
# starship (optional fancy prompt)
|
|
[ -f ~/.config/starship.toml ] && eval "$(starship init zsh)"
|
|
|
|
# cargo
|
|
source $HOME/.cargo/env
|
|
|
|
alias -g -- -h='-h 2>&1 | bat --language=help --style=plain'
|
|
alias -g -- --help='--help 2>&1 | bat --language=help --style=plain'
|
|
|
|
# Custom prompt options or PS1 here if desired
|
|
|
|
# You can add any shared settings, completions, etc.
|