From f993421ac98f7f9d7e5d93111761ab11580e84a6 Mon Sep 17 00:00:00 2001 From: Bartek Stalewski Date: Fri, 10 Jan 2020 23:32:07 +0100 Subject: [PATCH] Cleaning. --- legacy/agnoster.zsh | 13 ++++++++----- legacy/oh-my-zsh.init | 12 ------------ 2 files changed, 8 insertions(+), 17 deletions(-) delete mode 100644 legacy/oh-my-zsh.init diff --git a/legacy/agnoster.zsh b/legacy/agnoster.zsh index b65375e..2dae733 100644 --- a/legacy/agnoster.zsh +++ b/legacy/agnoster.zsh @@ -1,12 +1,15 @@ -git clone https://github.com/popstas/zsh-command-time.git ~/.oh-my-zsh/custom/plugins/command-time +git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh +git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions +git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting +export ZSH=$HOME/.oh-my-zsh ZSH_THEME="agnoster" -plugins=(git kube-ps1 command-time zsh-autosuggestions zsh-syntax-highlighting) +CASE_SENSITIVE="true" +ENABLE_CORRECTION="true" +plugins=(git kube-ps1 timer zsh-autosuggestions zsh-syntax-highlighting) +source $ZSH/oh-my-zsh.sh export DEFAULT_USER=$LOGNAME source ~/.dotfiles/zsh/abbr_pwd prompt_dir() { prompt_segment blue $CURRENT_FG $(felix_pwd_abbr) } PROMPT=$PROMPT'$(kube_ps1) ' -ZSH_COMMAND_TIME_MIN_SECONDS=2 -ZSH_COMMAND_TIME_MSG="(took $fg[yellow]%s$fg[default])" -[ -e ~/.zshrc.local ] && source ~/.zshrc.local diff --git a/legacy/oh-my-zsh.init b/legacy/oh-my-zsh.init deleted file mode 100644 index 82d654b..0000000 --- a/legacy/oh-my-zsh.init +++ /dev/null @@ -1,12 +0,0 @@ -git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh -git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions -git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting -export ZSH=$HOME/.oh-my-zsh -CASE_SENSITIVE="true" -ENABLE_CORRECTION="true" -plugins=(git zsh-autosuggestions zsh-syntax-highlighting) -source $ZSH/oh-my-zsh.sh - -#optional -git clone --recursive https://github.com/mengelbrecht/slimline.git ~/.oh-my-zsh/custom/themes/slimline -source ~/.oh-my-zsh/custom/themes/slimline/slimline.zsh