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 | |
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.
-rw-r--r-- | zshenv | 35 | ||||
-rw-r--r-- | zshrc | 4 |
2 files changed, 0 insertions, 39 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 diff --git a/zshrc b/zshrc index ce54d98..8586c89 100644 --- a/zshrc +++ b/zshrc @@ -2,8 +2,6 @@ autoload -U compinit compinit -C HISTFILE=~/.zhistory -HISTSIZE=5000 -SAVEHIST=5000 # Add commands to history as they are entered, don't wait for shell to exit setopt INC_APPEND_HISTORY @@ -21,5 +19,3 @@ zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l: autoload -U select-word-style select-word-style bash - -export PROMPT="%1/ %# " |