zsh: add ~/bin to PATH if available

This commit is contained in:
Mark Riedesel 2024-06-18 15:48:01 -05:00
parent 874cd444ba
commit 29f6d0a2b9
2 changed files with 5 additions and 3 deletions

View file

@ -1,14 +1,12 @@
# vim:set ft=zsh:
# Fix for foot terminfo not installed on most servers
alias ssh="TERM=xterm-256color ssh"
source ~/.config/user-dirs.dirs
## Options
setopt correct # Auto correct mistakes
setopt extendedglob # Extended globbing. Allows using regular expressions with *
setopt nocaseglob # Case insensitive globbing
setopt rcexpandparam # Array expension with parameters
setopt rcexpandparam # Array expansion with parameters
setopt nocheckjobs # Don't warn about running processes when exiting
setopt numericglobsort # Sort filenames numerically when it makes sense
setopt nobeep # No beep

View file

@ -0,0 +1,4 @@
# vim:set ft=zsh:
if [[ -d "$HOME/bin" ]]; then
export PATH=$HOME/bin:${PATH}
fi