103 lines
2.8 KiB
Diff
103 lines
2.8 KiB
Diff
diff --git .zprezto/runcoms/zpreztorc .zprezto/runcoms/zpreztorc
|
|
index ae68a89..2c1e405 100644
|
|
--- .zprezto/runcoms/zpreztorc
|
|
+++ .zprezto/runcoms/zpreztorc
|
|
@@ -38,8 +38,11 @@ zstyle ':prezto:load' pmodule \
|
|
'spectrum' \
|
|
'utility' \
|
|
'completion' \
|
|
+ 'syntax-highlighting' \
|
|
'history-substring-search' \
|
|
- 'prompt'
|
|
+ 'autosuggestions' \
|
|
+ 'prompt' \
|
|
+ 'git'
|
|
|
|
#
|
|
# Autosuggestions
|
|
@@ -130,7 +133,7 @@ zstyle ':prezto:module:editor' key-bindings 'emacs'
|
|
# Set the prompt theme to load.
|
|
# Setting it to 'random' loads a random theme.
|
|
# Auto set to 'off' on dumb terminals.
|
|
-zstyle ':prezto:module:prompt' theme 'sorin'
|
|
+zstyle ':prezto:module:prompt' theme 'skwp'
|
|
|
|
# Set the working directory prompt display length.
|
|
# By default, it is set to 'short'. Set it to 'long' (without '~' expansion)
|
|
@@ -181,39 +184,39 @@ zstyle ':prezto:module:prompt' theme 'sorin'
|
|
|
|
# Set syntax highlighters.
|
|
# By default, only the main highlighter is enabled.
|
|
-# zstyle ':prezto:module:syntax-highlighting' highlighters \
|
|
-# 'main' \
|
|
-# 'brackets' \
|
|
-# 'pattern' \
|
|
-# 'line' \
|
|
-# 'cursor' \
|
|
-# 'root'
|
|
-#
|
|
+zstyle ':prezto:module:syntax-highlighting' highlighters \
|
|
+ 'main' \
|
|
+ 'brackets' \
|
|
+ 'pattern' \
|
|
+ 'line' \
|
|
+ 'cursor' \
|
|
+ 'root'
|
|
+
|
|
# Set syntax highlighting styles.
|
|
-# zstyle ':prezto:module:syntax-highlighting' styles \
|
|
-# 'builtin' 'bg=blue' \
|
|
-# 'command' 'bg=blue' \
|
|
-# 'function' 'bg=blue'
|
|
-#
|
|
+zstyle ':prezto:module:syntax-highlighting' styles \
|
|
+ 'builtin' 'bg=blue' \
|
|
+ 'command' 'bg=blue' \
|
|
+ 'function' 'bg=blue'
|
|
+
|
|
# 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
|
|
#
|
|
|
|
# Auto set the tab and window titles.
|
|
-# zstyle ':prezto:module:terminal' auto-title 'yes'
|
|
+zstyle ':prezto:module:terminal' auto-title 'yes'
|
|
|
|
# Set the window title format.
|
|
-# zstyle ':prezto:module:terminal:window-title' format '%n@%m: %s'
|
|
+zstyle ':prezto:module:terminal:window-title' format '%n@%m: %s'
|
|
|
|
# Set the tab title format.
|
|
-# zstyle ':prezto:module:terminal:tab-title' format '%m: %s'
|
|
+zstyle ':prezto:module:terminal:tab-title' format '%m: %s'
|
|
|
|
# Set the terminal multiplexer title format.
|
|
-# zstyle ':prezto:module:terminal:multiplexer-title' format '%s'
|
|
+zstyle ':prezto:module:terminal:multiplexer-title' format '%s'
|
|
|
|
#
|
|
# Tmux
|
|
diff --git .zprezto/runcoms/zshrc .zprezto/runcoms/zshrc
|
|
index 039b882..58f1b30 100644
|
|
--- .zprezto/runcoms/zshrc
|
|
+++ .zprezto/runcoms/zshrc
|
|
@@ -10,4 +10,11 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
|
|
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
|
|
fi
|
|
|
|
-# Customize to your needs...
|
|
+# Exports
|
|
+export PATH="$HOME/bin:$PATH"
|
|
+export VISUAL=nvim
|
|
+export EDITOR="$VISUAL"
|
|
+export GIT_EDITOR=nvim
|
|
+
|
|
+# Aliases
|
|
+alias k=kubectl
|