From ce919c3e2d566ec3d0f8574bdc4c22212cd86d0f Mon Sep 17 00:00:00 2001 From: Bond_009 Date: Sat, 5 Nov 2022 17:51:43 +0100 Subject: Make more portable --- zsh/.zshrc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'zsh') 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 -- cgit v1.2.3