diff --git a/home/.zsh/custom/walkah.zsh-theme b/home/.zsh/custom/walkah.zsh-theme index 44a5b46..c38bf54 100644 --- a/home/.zsh/custom/walkah.zsh-theme +++ b/home/.zsh/custom/walkah.zsh-theme @@ -7,7 +7,7 @@ function asdf_prompt() { echo $(asdf current $1|awk '{print $1}') } -PROMPT='%{$fg[$HCOLOR]%}%m%{$reset_color%}:%c $(git_prompt_info)%{$fg[red]%}%(!.#.»)%{$reset_color%} ' +PROMPT='%{$fg[$HCOLOR]%}%m%{$reset_color%}:$(shrink_path -f) $(git_prompt_info)%{$fg[red]%}%(!.#.»)%{$reset_color%} ' PROMPT2='%{$fg[red]%}\ %{$reset_color%}' if (( $+commands[asdf] )); then RPS1='%{$fg[cyan]%}(%{$fg[red]%}$(asdf_prompt ruby) %{$fg[green]%}$(asdf_prompt nodejs) %{$fg[blue]%}$(asdf_prompt python)%{$fg[cyan]%}) %{$reset_color%}${return_code}' diff --git a/home/.zshrc b/home/.zshrc index 296c45a..ce474e0 100644 --- a/home/.zshrc +++ b/home/.zshrc @@ -19,7 +19,7 @@ export ZSH_CUSTOM=$HOME/.zsh/custom # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) # Example format: plugins=(rails git textmate ruby lighthouse) -plugins=(asdf aws gcloud extract command-not-found tmux tmuxinator git github ssh-agent docker docker-compose mix-fast) +plugins=(asdf shrink-path aws gcloud extract command-not-found tmux tmuxinator git github ssh-agent docker docker-compose mix-fast) # ruby if [ -x ruby ]; then