summary refs log tree commit diff
path: root/zshenv
diff options
context:
space:
mode:
authorFranck Cuny <fcuny@twitter.com>2019-07-30 08:49:08 -0700
committerFranck Cuny <fcuny@twitter.com>2019-07-30 08:49:08 -0700
commitd5e1068368165d23b764fcad8866b775bd2704de (patch)
tree6b2d0f41f7503069cb4b6d693708248b46d0ec36 /zshenv
parent[zsh] small improvement to the prompt (diff)
downloademacs.d-d5e1068368165d23b764fcad8866b775bd2704de.tar.gz
[emacs] configuration for whitespace-mode
with trailing white space highlight on by default, they are
highlighted in places i don't care (e.g. mini buffer) and this is
distracting.  instead, only enable them for the modes i really care
about.
Diffstat (limited to '')
-rw-r--r--zshenv20
1 files changed, 12 insertions, 8 deletions
diff --git a/zshenv b/zshenv
index 60ad8d9..7b988b1 100644
--- a/zshenv
+++ b/zshenv
@@ -17,22 +17,26 @@ alias mv="mv -i"
 alias rm="rm -i"
 alias add="arc diff --draft"
 
+# export PATH="${GOPATH}/bin:$PATH"
+
 # finally, build the path and source a few files
 __add_to_path_if_exists() {
   [ -d "$1" ] && export PATH="$1:$PATH"
 }
 
-__source_file_if_exists() {
-  [ -s "$1" ] && source "$1"
-}
+# __source_file_if_exists() {
+#   [ -s "$1" ] && source "$1"
+# }
 
 __add_to_path_if_exists "${GOPATH}/bin"
-__add_to_path_if_exists "/opt/twitter/opt/go/libexec/bin"
+# # __add_to_path_if_exists "/opt/twitter/opt/go/libexec/bin"
 
-__source_file_if_exists "/opt/google-cloud-sdk/path.zsh.inc"
-__source_file_if_exists "/opt/google-cloud-sdk/completion.zsh.inc"
+# __source_file_if_exists "/opt/google-cloud-sdk/path.zsh.inc"
+# __source_file_if_exists "/opt/google-cloud-sdk/completion.zsh.inc"
 
-# Twitter paths
 __add_to_path_if_exists "${HOME}/workspace/source/dist"
-__add_to_path_if_exists "/opt/twitter/bin"
+__add_to_path_if_exists "/opt/local/bin"
+__add_to_path_if_exists "/opt/local/sbin"
+
 
+export PATH=$PATH:/opt/google-cloud-sdk/bin