diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-27 15:54:13 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-27 15:54:13 +1200 |
commit | ab67c7ca6f0191d2c47f2e07731ca084559f9c4f (patch) | |
tree | df8f50ead59fd76479ef1928059a6f4dba74888c /zsh/zshrc | |
parent | Use command -p to find tty(1) (diff) | |
download | dotfiles-ab67c7ca6f0191d2c47f2e07731ca084559f9c4f.tar.gz dotfiles-ab67c7ca6f0191d2c47f2e07731ca084559f9c4f.zip |
Port Bash prompt to Zsh
Somewhat naïvely; just quick searches of `man zshall`. I'm sure some of
the stuff I removed has analogous features or that they can be
implemented.
Diffstat (limited to 'zsh/zshrc')
-rw-r--r-- | zsh/zshrc | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -7,5 +7,8 @@ HISTFILE=$HOME/.zsh_history SAVEHIST=$((1 << 12)) HISTSIZE=$((1 << 10)) -# Load POSIX shell functions -source "$ENV" +# Load POSIX shell startup files and then Bash-specific ones +for sh in "$ENV" "$HOME"/.zshrc.d/*.zsh ; do + [[ -e $sh ]] && source "$sh" +done +unset -v sh |