Goodbye oh-my-zsh
This commit is contained in:
parent
ad2b68290a
commit
6544b3963d
13
install.sh
13
install.sh
@ -31,13 +31,12 @@ ln -sf ~/.dotfiles/tmux.conf ~/.tmux.conf
|
|||||||
|
|
||||||
## zsh
|
## zsh
|
||||||
# cleaning
|
# cleaning
|
||||||
rm -rf ~/.zshrc ~/.oh-my-zsh
|
rm -rf ~/.zsh ~/.zshrc
|
||||||
|
mkdir -p ~/.zsh/plugins ~/.zsh/themes
|
||||||
# dependiences
|
# dependiences
|
||||||
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
|
git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.zsh/plugins/zsh-autosuggestions
|
||||||
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 ~/.zsh/plugins/zsh-syntax-highlighting
|
||||||
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
|
git clone --recursive https://github.com/mengelbrecht/slimline.git ~/.zsh/themes/slimline
|
||||||
git clone --recursive https://github.com/mengelbrecht/slimline.git ~/.oh-my-zsh/custom/themes/slimline
|
|
||||||
# install
|
# install
|
||||||
cp ~/.dotfiles/zsh/zshrc ~/.zshrc
|
ln -sf ~/.dotfiles/zsh/zshrc ~/.zshrc
|
||||||
touch ~/.zshrc.local
|
touch ~/.zshrc.local
|
||||||
source ~/.zshrc
|
|
||||||
|
@ -1,10 +1,6 @@
|
|||||||
git clone https://github.com/popstas/zsh-command-time.git ~/.oh-my-zsh/custom/plugins/command-time
|
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"
|
ZSH_THEME="agnoster"
|
||||||
CASE_SENSITIVE="true"
|
|
||||||
ENABLE_CORRECTION="true"
|
|
||||||
plugins=(git kube-ps1 command-time zsh-autosuggestions zsh-syntax-highlighting)
|
plugins=(git kube-ps1 command-time zsh-autosuggestions zsh-syntax-highlighting)
|
||||||
source $ZSH/oh-my-zsh.sh
|
|
||||||
export DEFAULT_USER=$LOGNAME
|
export DEFAULT_USER=$LOGNAME
|
||||||
source ~/.dotfiles/zsh/abbr_pwd
|
source ~/.dotfiles/zsh/abbr_pwd
|
||||||
prompt_dir() {
|
prompt_dir() {
|
||||||
|
12
legacy/oh-my-zsh.init
Normal file
12
legacy/oh-my-zsh.init
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
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
|
13
zsh/zshrc
13
zsh/zshrc
@ -1,10 +1,9 @@
|
|||||||
export ZSH=$HOME/.oh-my-zsh
|
autoload -U compinit && compinit
|
||||||
CASE_SENSITIVE="true"
|
alias ll='ls -lh'
|
||||||
ENABLE_CORRECTION="true"
|
alias ls='ls -G'
|
||||||
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
|
source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||||
source $ZSH/oh-my-zsh.sh
|
source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
|
source ~/.zsh/themes/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_USER_HOST_INFO_FORMAT="%F{green}|user|%F{white}@%F{cyan}|host|%f"
|
||||||
SLIMLINE_USER_HOST_INFO_ROOT_FORMAT="%F{red}|user|%F{white}@%F{cyan}|host|%f"
|
SLIMLINE_USER_HOST_INFO_ROOT_FORMAT="%F{red}|user|%F{white}@%F{cyan}|host|%f"
|
||||||
SLIMLINE_SYMBOL_WORKING_FORMAT="%F{red}➜%f"
|
SLIMLINE_SYMBOL_WORKING_FORMAT="%F{red}➜%f"
|
||||||
|
Loading…
Reference in New Issue
Block a user