Skip to content

Commit

Permalink
ref(modules): Load the node after completion
Browse files Browse the repository at this point in the history
Which seems to fix the error `command not found: compdef`
at `prezto-grunt-cache.501.zsh:37`.

Also:
- Reorder some modules;
- Enable highlighting for builtin, command and function;

More: sorin-ionescu#1661
  • Loading branch information
roalcantara committed Jun 1, 2020
1 parent 8176bfe commit 1f55a8e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions runcoms/zpreztorc
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,9 @@ zstyle ':prezto:load' pmodule \
'fasd' \
'homebrew' \
'android' \
'yarn' \
'dotfiles' \
'environment' \
'git' \
'node' \
'flutter' \
'osx' \
'terminal' \
'editor' \
Expand All @@ -50,6 +47,9 @@ zstyle ':prezto:load' pmodule \
'spectrum' \
'utility' \
'completion' \
'node' \
'yarn' \
'flutter' \
'syntax-highlighting' \
'history-substring-search' \
'prompt' \
Expand Down Expand Up @@ -146,7 +146,7 @@ zstyle ':prezto:module:prompt' pwd-length 'short'

# Set the prompt to display the return code along with an indicator for non-zero
# return codes. This is not supported by all prompts.
# zstyle ':prezto:module:prompt' show-return-val 'yes'
zstyle ':prezto:module:prompt' show-return-val 'yes'

#
# Python
Expand Down Expand Up @@ -198,13 +198,13 @@ zstyle ':prezto:module:syntax-highlighting' highlighters \

# Set syntax highlighting styles.
# zstyle ':prezto:module:syntax-highlighting' styles \
# 'builtin' 'bg=blue' \
# 'builtin' 'bg=green' \
# 'command' 'bg=blue' \
# 'function' 'bg=blue'
#
# 'function' 'bg=red'

# Set syntax pattern styles.
# zstyle ':prezto:module:syntax-highlighting' pattern \
# 'rm*-rf*' 'fg=white,bold,bg=red'
zstyle ':prezto:module:syntax-highlighting' pattern \
'rm*-rf*' 'fg=white,bold,bg=red'

#
# Terminal
Expand Down

0 comments on commit 1f55a8e

Please sign in to comment.