powerlvel10k
This commit is contained in:
parent
c5e00e68cf
commit
e237442a7f
@ -36,7 +36,8 @@ mkdir -p ~/.zsh/plugins ~/.zsh/themes
|
|||||||
# dependiences
|
# dependiences
|
||||||
git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.zsh/plugins/zsh-autosuggestions
|
git clone https://github.com/zsh-users/zsh-autosuggestions.git ~/.zsh/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 ~/.zsh/plugins/zsh-syntax-highlighting
|
||||||
git clone --recursive https://github.com/mengelbrecht/slimline.git ~/.zsh/themes/slimline
|
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
|
||||||
# install
|
# install
|
||||||
ln -sf ~/.dotfiles/zsh/zshrc ~/.zshrc
|
ln -sf ~/.dotfiles/zsh/zshrc ~/.zshrc
|
||||||
|
ln -sf ~/.dotfiles/zsh/p10k.zsh ~/.p10k.zsh
|
||||||
touch ~/.zshrc.local
|
touch ~/.zshrc.local
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
|
#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-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/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
|
||||||
export ZSH=$HOME/.oh-my-zsh
|
export ZSH=$HOME/.oh-my-zsh
|
||||||
ZSH_THEME="agnoster"
|
ZSH_THEME="agnoster"
|
||||||
CASE_SENSITIVE="true"
|
CASE_SENSITIVE="true"
|
||||||
|
14
legacy/slimline.zsh
Normal file
14
legacy/slimline.zsh
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
#git clone --recursive https://github.com/mengelbrecht/slimline.git ~/.zsh/themes/slimline
|
||||||
|
source ~/.dotfiles/zsh/slimline_k8s_ctx.zsh
|
||||||
|
source ~/.dotfiles/zsh/slimline_k8s_ns.zsh
|
||||||
|
|
||||||
|
SLIMLINE_LEFT_PROMPT_SECTIONS="user_host_info cwd symbol"
|
||||||
|
SLIMLINE_RIGHT_PROMPT_SECTIONS="exit_status execution_time git virtualenv aws_profile k8s_context k8s_namespace"
|
||||||
|
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_VIRTUALENV_FORMAT="venv:%F{blue}|basename|%f"
|
||||||
|
SLIMLINE_AWS_PROFILE_FORMAT="aws:%F{blue}|profile|%f"
|
||||||
|
SLIMLINE_SYMBOL_WORKING_FORMAT="%F{red}➜%f"
|
||||||
|
SLIMLINE_SYMBOL_READY_FORMAT="%F{243}➜%f"
|
||||||
|
SLIMLINE_MAX_EXEC_TIME=2
|
||||||
|
source ~/.zsh/themes/slimline/slimline.zsh
|
1085
zsh/p10k.zsh
Normal file
1085
zsh/p10k.zsh
Normal file
File diff suppressed because it is too large
Load Diff
15
zsh/zshrc
15
zsh/zshrc
@ -13,18 +13,7 @@ alias ll='ls -lh'
|
|||||||
|
|
||||||
source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||||
source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
source ~/.dotfiles/zsh/slimline_k8s_ctx.zsh
|
source ~/powerlevel10k/powerlevel10k.zsh-theme
|
||||||
source ~/.dotfiles/zsh/slimline_k8s_ns.zsh
|
|
||||||
|
|
||||||
SLIMLINE_LEFT_PROMPT_SECTIONS="user_host_info cwd symbol"
|
|
||||||
SLIMLINE_RIGHT_PROMPT_SECTIONS="exit_status execution_time git virtualenv aws_profile k8s_context k8s_namespace"
|
|
||||||
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_VIRTUALENV_FORMAT="venv:%F{blue}|basename|%f"
|
|
||||||
SLIMLINE_AWS_PROFILE_FORMAT="aws:%F{blue}|profile|%f"
|
|
||||||
SLIMLINE_SYMBOL_WORKING_FORMAT="%F{red}➜%f"
|
|
||||||
SLIMLINE_SYMBOL_READY_FORMAT="%F{243}➜%f"
|
|
||||||
SLIMLINE_MAX_EXEC_TIME=2
|
|
||||||
source ~/.zsh/themes/slimline/slimline.zsh
|
|
||||||
|
|
||||||
|
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
||||||
[ -e ~/.zshrc.local ] && source ~/.zshrc.local
|
[ -e ~/.zshrc.local ] && source ~/.zshrc.local
|
||||||
|
Loading…
Reference in New Issue
Block a user