aboutsummaryrefslogtreecommitdiff
path: root/zsh/zshenv
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2012-06-04 23:46:47 +1200
committerTom Ryder <tom@sanctum.geek.nz>2012-06-04 23:46:47 +1200
commit4530d63af43a6781ce5965eb967c922b1e71a9b2 (patch)
treea76a9ecd60500b09036d4a2568fc5a18cb40d5d0 /zsh/zshenv
parentQuick and dirty fix for Markdown highlighting (diff)
downloaddotfiles-4530d63af43a6781ce5965eb967c922b1e71a9b2.tar.gz
dotfiles-4530d63af43a6781ce5965eb967c922b1e71a9b2.zip
Refactor bashrc config for parity with new zshrc
I'm trying out Zshrc for a bit for a future Arabesque article. I've started by just trying to get rough feature parity with my Bash configuration. I've had some moderate success though it's taken quite some time.
Diffstat (limited to 'zsh/zshenv')
-rw-r--r--zsh/zshenv13
1 files changed, 13 insertions, 0 deletions
diff --git a/zsh/zshenv b/zsh/zshenv
new file mode 100644
index 00000000..a25472a0
--- /dev/null
+++ b/zsh/zshenv
@@ -0,0 +1,13 @@
+# Add ~/bin to the path if it exists.
+if [[ -d "$HOME/bin" ]]; then
+ PATH="$HOME/bin:$PATH"
+fi
+
+# Add machine-specific local file if it exists.
+if [[ -e "$HOME/.zshenv_local" ]]; then
+ . "$HOME/.zshenv_local"
+fi
+
+# None of this UTF8 drawing characters nonsense.
+export NCURSES_NO_UTF8_ACS=1
+