Skip to content
This repository has been archived by the owner on Apr 24, 2020. It is now read-only.

Commit

Permalink
Replace call to basename with ZSH internals #1128
Browse files Browse the repository at this point in the history
  • Loading branch information
dritter committed Jan 23, 2019
1 parent 8b4bed9 commit 081000c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion powerlevel9k.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -1652,7 +1652,7 @@ prompt_virtualenv() {
# Early exit; $virtualenv_path must always be set.
[[ -z "$virtualenv_path" ]] && return

"$1_prompt_segment" "$0" "$2" "blue" "$DEFAULT_COLOR" "$(basename "$virtualenv_path")" 'PYTHON_ICON'
"$1_prompt_segment" "$0" "$2" "blue" "$DEFAULT_COLOR" "${virtualenv_path:t}" 'PYTHON_ICON'
}

################################################################
Expand Down

0 comments on commit 081000c

Please sign in to comment.