diff options
| author | Bond_009 <bond.009@outlook.com> | 2022-11-05 17:51:43 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2022-11-05 17:51:43 +0100 |
| commit | ce919c3e2d566ec3d0f8574bdc4c22212cd86d0f (patch) | |
| tree | e7200e76ca10a3c157a67737518d3a5268c7ec89 /zsh/.zshrc | |
| parent | 050db4c2c3681940730d16439315c9a58a4a8672 (diff) | |
Make more portable
Diffstat (limited to 'zsh/.zshrc')
| -rwxr-xr-x | zsh/.zshrc | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |
