aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2022-11-05 17:51:43 +0100
committerBond_009 <bond.009@outlook.com>2022-11-05 17:51:43 +0100
commitce919c3e2d566ec3d0f8574bdc4c22212cd86d0f (patch)
treee7200e76ca10a3c157a67737518d3a5268c7ec89 /zsh
parent050db4c2c3681940730d16439315c9a58a4a8672 (diff)
Make more portable
Diffstat (limited to 'zsh')
-rwxr-xr-xzsh/.zshrc5
1 files changed, 2 insertions, 3 deletions
diff --git a/zsh/.zshrc b/zsh/.zshrc
index fa9d898..42a13f0 100755
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -101,8 +101,7 @@ export DEFAULT_USER="$USER"
# Don't indent prompt
export ZLE_RPROMPT_INDENT=0
-# Powerlevel9k
-[ -n "$POWERLEVEL9K_THEME" ] && source "$POWERLEVEL9K_THEME"
+[ -n "$ZSH_THEME" ] && source "$ZSH_THEME"
## Settings
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(context dir dir_writable vcs)
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status background_jobs command_execution_time time)
@@ -118,7 +117,7 @@ ZSH_AUTOSUGGEST_USE_ASYNC=1
# Syntax highlighting
[ -n "$ZSH_SYNTAX_HIGHLIGHTING_PATH" ] && source "$ZSH_SYNTAX_HIGHLIGHTING_PATH"
-[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
+[ -f "$ZSH_FZF_PATH" ] && source "$ZSH_FZF_PATH"
# Exec general init script
source ~/.initsh