mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-25 13:30:07 +00:00
Merge branch 'master' into next
This commit is contained in:
commit
1dbaf43b98
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ fi
|
||||||
# Resolve the installation path
|
# Resolve the installation path
|
||||||
if [[ -L "$POWERLEVEL9K_INSTALLATION_PATH" ]]; then
|
if [[ -L "$POWERLEVEL9K_INSTALLATION_PATH" ]]; then
|
||||||
# If this theme is sourced as a symlink, we need to locate the real URL
|
# If this theme is sourced as a symlink, we need to locate the real URL
|
||||||
filename="$(realpath -P $POWERLEVEL9K_INSTALLATION_PATH 2>/dev/null || readlink -f $POWERLEVEL9K_INSTALLATION_PATH 2>/dev/null || perl -MCwd=abs_path -le 'print abs_path readlink(shift);' $POWERLEVEL9K_INSTALLATION_PATH 2>/dev/null)"
|
filename="${POWERLEVEL9K_INSTALLATION_PATH:A}"
|
||||||
elif [[ -d "$POWERLEVEL9K_INSTALLATION_PATH" ]]; then
|
elif [[ -d "$POWERLEVEL9K_INSTALLATION_PATH" ]]; then
|
||||||
# Directory
|
# Directory
|
||||||
filename="${POWERLEVEL9K_INSTALLATION_PATH}/powerlevel9k.zsh-theme"
|
filename="${POWERLEVEL9K_INSTALLATION_PATH}/powerlevel9k.zsh-theme"
|
||||||
|
|
Loading…
Reference in a new issue