|
|
|
@ -1,12 +1,3 @@
|
|
|
|
|
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. |
|
|
|
|
# Initialization code that may require console input (password prompts, [y/n] |
|
|
|
|
# confirmations, etc.) must go above this block, everything else may go below. |
|
|
|
|
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then |
|
|
|
|
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" |
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
# Set up the prompt |
|
|
|
|
|
|
|
|
|
autoload -Uz promptinit |
|
|
|
|
promptinit |
|
|
|
|
prompt adam1 |
|
|
|
@ -42,10 +33,6 @@ zstyle ':completion:*' verbose true
|
|
|
|
|
|
|
|
|
|
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31' |
|
|
|
|
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd' |
|
|
|
|
# source ~/.powerlevel10k/powerlevel10k.zsh-theme |
|
|
|
|
|
|
|
|
|
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. |
|
|
|
|
# [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh |
|
|
|
|
|
|
|
|
|
# Completions |
|
|
|
|
source ~/.gitflow-completion.zsh |
|
|
|
@ -59,3 +46,7 @@ source <("/home/juliob/.cargo/bin/starship" init zsh --print-full-init)
|
|
|
|
|
|
|
|
|
|
# Aliases |
|
|
|
|
source ~/.aliases |
|
|
|
|
|
|
|
|
|
# GCP |
|
|
|
|
if [ -f '/home/juliob/bin/google-cloud-sdk/path.zsh.inc' ]; then . '/home/juliob/bin/google-cloud-sdk/path.zsh.inc'; fi |
|
|
|
|
if [ -f '/home/juliob/bin/google-cloud-sdk/completion.zsh.inc' ]; then . '/home/juliob/bin/google-cloud-sdk/completion.zsh.inc'; fi |
|
|
|
|