diff options
author | Tharre <tharre3@gmail.com> | 2018-08-12 00:05:51 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2018-08-12 01:17:13 +0200 |
commit | 8fc802bb7843ce0e32661cfa23f8947dc3ddea68 (patch) | |
tree | 10ef02a948bb83b4ddc6e497fc7bd38d92c1314e /zsh-custom | |
parent | be230463de9cbb87115589192a3da3223f172a20 (diff) | |
download | dotfiles-8fc802bb7843ce0e32661cfa23f8947dc3ddea68.tar.gz dotfiles-8fc802bb7843ce0e32661cfa23f8947dc3ddea68.tar.xz dotfiles-8fc802bb7843ce0e32661cfa23f8947dc3ddea68.zip |
zsh: replace oh-my-zsh with vanilla zsh configs
oh-my-zsh introduces *a lot* of bloat, but I've barely been using any of
it these past years. Just picking the options I use makes zsh easier to
work with and debug (and hopefully faster).
Diffstat (limited to 'zsh-custom')
-rw-r--r-- | zsh-custom/themes/custom.zsh-theme | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/zsh-custom/themes/custom.zsh-theme b/zsh-custom/themes/custom.zsh-theme deleted file mode 100644 index a485b44..0000000 --- a/zsh-custom/themes/custom.zsh-theme +++ /dev/null @@ -1,24 +0,0 @@ -# custom.zsh-theme -# based on the af-magic theme - -local return_code="%(?..%{$fg[red]%}:%?%{$reset_color%})" - -# prefix hostname if ssh session was detected -if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_CONNECTION" ] || [ -n "$SSH_TTY" ]; then - local hostname="%{$fg[red]%}[%m]%{$reset_color%} " -fi - -# primary prompt -PROMPT='$hostname\ -$FG[032]%(8~"[..]/")%7~\ -$(git_prompt_info) \ -$FG[105]%1(j.[%j] .)%(!.#.$)%{$reset_color%} ' -PROMPT2='%{$fg[red]%}\ %{$reset_color%}' -RPS1='${return_code}' - -# git settings -ZSH_THEME_GIT_PROMPT_PREFIX="$FG[075] (" -ZSH_THEME_GIT_PROMPT_CLEAN="" -ZSH_THEME_GIT_PROMPT_DIRTY="$FG[214]*%{$reset_color%}" -ZSH_THEME_GIT_PROMPT_SUFFIX="$FG[075])%{$reset_color%}" - |