summary refs log tree commit diff
path: root/.zshrc
diff options
context:
space:
mode:
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc12
1 files changed, 11 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 53eea862..7df1921e 100644
--- a/.zshrc
+++ b/.zshrc
@@ -1,3 +1,11 @@
+# Detect platform
+if [[ "$(uname)" == "Darwin" ]]; then
+  function osx { true }
+else
+  function osx { false }
+fi
+
+# Basic zsh config
 HISTFILE=~/.histfile
 HISTSIZE=5000
 SAVEHIST=5000
@@ -59,7 +67,9 @@ source ~/.zsh/aliases.zsh
 
 # Environment
 
-EDITOR=vim
+export EDITOR=vim
+osx && PATH=$PATH:~/bin
+osx && export CLICOLOR=1
 
 # Prompt
 
8:15 -0500'>2021-01-23Separate kiosk mode from restrict modeJune McEnroe 2021-01-21Simplify windowUpdate loops and factor out windowTopJune McEnroe 2021-01-21Document that M-l shows timestampsJune McEnroe 2021-01-19Don't lose swapped window when navigating to current bufferJeremy O'Brien 2021-01-19Use Warm heat for manually inserted blank linesJune McEnroe 2021-01-18Add example tmux(1) configKlemens Nanni 2021-01-17Use Warm heat for blank linesJune McEnroe 2021-01-16Add -I highlight option and /highlightJune McEnroe