Migration to slimline - fix.

This commit is contained in:
Bartek Stalewski 2020-01-10 15:16:44 +01:00
parent 622b9327d2
commit e062e0b1d0
3 changed files with 4 additions and 4 deletions

View File

@ -32,12 +32,12 @@ ln -sf ~/.dotfiles/tmux.conf ~/.tmux.conf
## zsh
# cleaning
rm -rf ~/.zsh* ~/.oh-my-zsh
# installing
# dependiences
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
git clone https://github.com/popstas/zsh-command-time.git ~/.oh-my-zsh/custom/plugins/command-time
git clone --recursive https://github.com/mengelbrecht/slimline.git ~/.oh-my-zsh/custom/themes/slimline
# install
cp ~/.dotfiles/zsh/zshrc ~/.zshrc
touch ~/.zshrc.local
source ~/.zshrc

View File

@ -1,3 +1,4 @@
git clone https://github.com/popstas/zsh-command-time.git ~/.oh-my-zsh/custom/plugins/command-time
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="agnoster"
CASE_SENSITIVE="true"

View File

@ -1,11 +1,10 @@
export ZSH=$HOME/.oh-my-zsh
ZSH_THEME="agnoster"
CASE_SENSITIVE="true"
ENABLE_CORRECTION="true"
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
source ~/slimline/slimline.zsh
source ~/oh-my-zsh/custom/themes/slimline/slimline.zsh
SLIMLINE_USER_HOST_INFO_FORMAT="%F{green}|user|%F{white}@%F{cyan}|host|%f"
SLIMLINE_SYMBOL_WORKING_FORMAT="%F{red}➜%f"
SLIMLINE_SYMBOL_READY_FORMAT="%F{white}➜%f"