Back to p10k
This commit is contained in:
parent
1814979fe8
commit
f1e39f0cba
@ -1,45 +0,0 @@
|
|||||||
add_newline = false
|
|
||||||
prompt_order = [
|
|
||||||
# "kubernetes",
|
|
||||||
"python",
|
|
||||||
"directory",
|
|
||||||
"git_branch",
|
|
||||||
"git_commit",
|
|
||||||
"git_state",
|
|
||||||
"git_status",
|
|
||||||
# "docker_context",
|
|
||||||
# "terraform",
|
|
||||||
# "aws",
|
|
||||||
"cmd_duration",
|
|
||||||
"line_break",
|
|
||||||
"battery",
|
|
||||||
"username",
|
|
||||||
"hostname",
|
|
||||||
"character",
|
|
||||||
]
|
|
||||||
|
|
||||||
[character]
|
|
||||||
use_symbol_for_status = true
|
|
||||||
[git_branch]
|
|
||||||
symbol = " "
|
|
||||||
style = ""
|
|
||||||
|
|
||||||
[cmd_duration]
|
|
||||||
prefix = ""
|
|
||||||
|
|
||||||
[git_status]
|
|
||||||
prefix = ""
|
|
||||||
suffix = ""
|
|
||||||
untracked = " !"
|
|
||||||
untracked_count.enabled = true
|
|
||||||
modified_count.enabled = true
|
|
||||||
deleted_count.enabled = true
|
|
||||||
staged = " +"
|
|
||||||
staged_count.enabled=true
|
|
||||||
show_sync_count = true
|
|
||||||
|
|
||||||
[hostname]
|
|
||||||
style = ""
|
|
||||||
|
|
||||||
[username]
|
|
||||||
style_user = ""
|
|
@ -37,11 +37,11 @@ ln -sf ~/.dotfiles/conf/tmux.conf ~/.tmux.conf
|
|||||||
## zsh
|
## zsh
|
||||||
# cleaning
|
# cleaning
|
||||||
rm -rf ~/.zsh ~/.zshrc
|
rm -rf ~/.zsh ~/.zshrc
|
||||||
mkdir -p ~/.zsh/plugins
|
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 https://github.com/romkatv/powerlevel10k.git ~/.zsh/themes/powerlevel10k
|
||||||
# installing
|
# installing
|
||||||
ln -sf ~/.dotfiles/zsh/zshrc ~/.zshrc
|
ln -sf ~/.dotfiles/zsh/zshrc ~/.zshrc
|
||||||
ln -sf ~/.dotfiles/conf/starship.toml ~/.config
|
|
||||||
touch ~/.zshrc.local
|
touch ~/.zshrc.local
|
||||||
|
1379
zsh/p10k.zsh
Normal file
1379
zsh/p10k.zsh
Normal file
File diff suppressed because it is too large
Load Diff
@ -7,9 +7,6 @@ zstyle ':completion:*' menu select
|
|||||||
export CLICOLOR=1
|
export CLICOLOR=1
|
||||||
alias ll='ls -lh'
|
alias ll='ls -lh'
|
||||||
|
|
||||||
source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
||||||
source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
|
||||||
|
|
||||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||||
export FZF_DEFAULT_COMMAND='git ls-files --cached --others --exclude-standard 2>/dev/null|fd -H'
|
export FZF_DEFAULT_COMMAND='git ls-files --cached --others --exclude-standard 2>/dev/null|fd -H'
|
||||||
export FZF_CTRL_T_COMMAND='git ls-files --cached --others --exclude-standard 2>/dev/null|fd -H'
|
export FZF_CTRL_T_COMMAND='git ls-files --cached --others --exclude-standard 2>/dev/null|fd -H'
|
||||||
@ -22,5 +19,9 @@ _fzf_compgen_dir() {
|
|||||||
fd -H --type d . "$1"
|
fd -H --type d . "$1"
|
||||||
}
|
}
|
||||||
|
|
||||||
eval "$(starship init zsh)"
|
source ~/.zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
||||||
|
source ~/.zsh/plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||||
|
source ~/.zsh/themes/powerlevel10k/powerlevel10k.zsh-theme
|
||||||
|
source ~/.dotfiles/zsh/p10k.zsh
|
||||||
|
|
||||||
[ -e ~/.zshrc.local ] && source ~/.zshrc.local
|
[ -e ~/.zshrc.local ] && source ~/.zshrc.local
|
||||||
|
Loading…
Reference in New Issue
Block a user