mirror of
https://github.com/sorin-ionescu/prezto.git
synced 2024-06-30 00:18:59 +02:00
Configuration
This commit is contained in:
parent
51c4ff6de4
commit
77e70f47ec
|
@ -30,6 +30,7 @@ zstyle ':prezto:*:*' color 'yes'
|
|||
# Set the Prezto modules to load (browse modules).
|
||||
# The order matters.
|
||||
zstyle ':prezto:load' pmodule \
|
||||
'git' \
|
||||
'environment' \
|
||||
'terminal' \
|
||||
'editor' \
|
||||
|
@ -39,7 +40,8 @@ zstyle ':prezto:load' pmodule \
|
|||
'utility' \
|
||||
'completion' \
|
||||
'history-substring-search' \
|
||||
'prompt'
|
||||
'prompt' \
|
||||
'syntax-highlighting'
|
||||
|
||||
#
|
||||
# Autosuggestions
|
||||
|
@ -52,7 +54,7 @@ zstyle ':prezto:load' pmodule \
|
|||
# Completions
|
||||
#
|
||||
|
||||
# Set the entries to ignore in static '/etc/hosts' for host completion.
|
||||
# Set the entries to ignore in static */etc/hosts* for host completion.
|
||||
# zstyle ':prezto:module:completion:*:hosts' etc-host-ignores \
|
||||
# '0.0.0.0' '127.0.0.1'
|
||||
|
||||
|
@ -181,14 +183,15 @@ 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' color 'yes'
|
||||
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' \
|
||||
|
@ -196,8 +199,8 @@ zstyle ':prezto:module:prompt' theme 'sorin'
|
|||
# '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
|
||||
|
|
|
@ -10,4 +10,24 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
|
|||
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
|
||||
fi
|
||||
|
||||
# Customize to your needs...
|
||||
alias p="cd ~/projects"
|
||||
alias v="vagrant"
|
||||
alias g="git"
|
||||
alias c="clear"
|
||||
alias gl="git log --oneline --graph --decorate --all"
|
||||
|
||||
# NVM
|
||||
export NVM_DIR="/Users/harrygreen/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
|
||||
# Android SDK location
|
||||
export ANDROID_HOME="/Users/harrygreen/Library/Android/sdk"
|
||||
|
||||
# Yarn Package Manager
|
||||
export PATH="$PATH:`yarn global bin`"
|
||||
|
||||
# Global Composer Packages
|
||||
export PATH="$PATH:$HOME/.composer/vendor/bin"
|
||||
|
||||
# Terminal Markdown Viewer - Theme Configuration
|
||||
export MDV_THEME=1027.0309
|
||||
|
|
Loading…
Reference in a new issue