From d98653326a2c088544a415e77c34a44e87180881 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 23 Jun 2020 17:49:00 -0700 Subject: 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. --- zshenv | 35 ----------------------------------- 1 file changed, 35 deletions(-) (limited to 'zshenv') 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 -- cgit 1.4.1