diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2020-06-23 17:49:00 -0700 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2020-06-23 17:49:00 -0700 |
commit | d98653326a2c088544a415e77c34a44e87180881 (patch) | |
tree | cbd460e204f3acca842a6c6567f508ee8d8fe6ab /zshenv | |
parent | emacs: update prog module (diff) | |
download | emacs.d-d98653326a2c088544a415e77c34a44e87180881.tar.gz |
zsh: simplify configuration
there's a lot of stuff I've no idea what they are for and if I need them, so let's drop and see what breaks.
Diffstat (limited to 'zshenv')
-rw-r--r-- | zshenv | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/zshenv b/zshenv index cefa3c7..acff725 100644 --- a/zshenv +++ b/zshenv @@ -1,38 +1,3 @@ export EDITOR="mg" -export LANG="en_US.UTF-8" -export LC_ALL="$LANG" -export LC_CTYPE="$LANG" -export PAGER="less" -export TZ=America/Los_Angeles -export GOPATH="${HOME}/workspace/go" -alias cp="cp -i" -alias l="ls" -alias la="ls -a" -alias ll="ls -lh" -alias lt="ls -lhtr" -alias mv="mv -i" -alias rm="rm -i" alias add="arc diff --draft" - -# 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" -# } - -__add_to_path_if_exists "${GOPATH}/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" - -__add_to_path_if_exists "${HOME}/workspace/source/dist" -__add_to_path_if_exists "/opt/local/bin" -__add_to_path_if_exists "/opt/local/sbin" - - -export PATH=$PATH:/opt/google-cloud-sdk/bin |