summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.zsh/zshenv/20_pager1
-rw-r--r--.zsh/zshenv/80_go2
2 files changed, 3 insertions, 0 deletions
diff --git a/.zsh/zshenv/20_pager b/.zsh/zshenv/20_pager
index 8f58d11..fba51df 100644
--- a/.zsh/zshenv/20_pager
+++ b/.zsh/zshenv/20_pager
@@ -11,5 +11,6 @@ export PAGER='less'
# to view some binary files in less
export LESSOPEN="| /usr/bin/lesspipe %s"
+is_darwin && export LESSOPEN='| /opt/local/bin/lesspipe.sh %s'
# vim:ft=zsh
diff --git a/.zsh/zshenv/80_go b/.zsh/zshenv/80_go
index bcb1c89..b13f255 100644
--- a/.zsh/zshenv/80_go
+++ b/.zsh/zshenv/80_go
@@ -25,6 +25,8 @@ if [ -d $_GOROOT ] ; then
Darwin) export GOOS="darwin";;
*) export GOOS="unsupported";;
esac
+
+ path_append $_GOROOT/bin
fi
# vim:ft=zsh