personalization
This commit is contained in:
parent
4f19700919
commit
fdb39192fc
3 changed files with 49 additions and 21 deletions
|
@ -32,7 +32,15 @@ zstyle ':prezto:load' pmodule \
|
|||
'spectrum' \
|
||||
'utility' \
|
||||
'completion' \
|
||||
'prompt'
|
||||
'prompt' \
|
||||
'git' \
|
||||
'osx' \
|
||||
'homebrew' \
|
||||
'history-substring-search' \
|
||||
'ssh' \
|
||||
'emacs' \
|
||||
'tmux'
|
||||
|
||||
|
||||
#
|
||||
# Autosuggestions
|
||||
|
@ -47,9 +55,10 @@ zstyle ':prezto:load' pmodule \
|
|||
|
||||
# Set the key mapping style to 'emacs' or 'vi'.
|
||||
zstyle ':prezto:module:editor' key-bindings 'emacs'
|
||||
zstyle ':prezto:module:editor' key-bindings 'vi'
|
||||
|
||||
# Auto convert .... to ../..
|
||||
# zstyle ':prezto:module:editor' dot-expansion 'yes'
|
||||
zstyle ':prezto:module:editor' dot-expansion 'yes'
|
||||
|
||||
#
|
||||
# Git
|
||||
|
@ -63,7 +72,7 @@ zstyle ':prezto:module:editor' key-bindings 'emacs'
|
|||
#
|
||||
|
||||
# Set the command prefix on non-GNU systems.
|
||||
# zstyle ':prezto:module:gnu-utility' prefix 'g'
|
||||
zstyle ':prezto:module:gnu-utility' prefix 'g'
|
||||
|
||||
#
|
||||
# History Substring Search
|
||||
|
@ -116,7 +125,7 @@ zstyle ':prezto:module:prompt' theme 'sorin'
|
|||
#
|
||||
|
||||
# Set the SSH identities to load into the agent.
|
||||
# zstyle ':prezto:module:ssh:load' identities 'id_rsa' 'id_rsa2' 'id_github'
|
||||
zstyle ':prezto:module:ssh:load' identities 'id_rsa' 'id_rsa_bitbucket' 'id_github'
|
||||
|
||||
#
|
||||
# Syntax Highlighting
|
||||
|
@ -124,32 +133,32 @@ 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'
|
||||
|
||||
#
|
||||
# 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'
|
||||
|
||||
#
|
||||
# Tmux
|
||||
|
@ -163,3 +172,11 @@ zstyle ':prezto:module:prompt' theme 'sorin'
|
|||
|
||||
# Integrate with iTerm2.
|
||||
# zstyle ':prezto:module:tmux:iterm' integrate 'yes'
|
||||
|
||||
export GOPATH=/Users/ali
|
||||
#export GHSYNC_DIR='~/githubsync/'
|
||||
export PATH=$PATH:/usr/local/opt/go/libexec/bin
|
||||
export RBENV_ROOT=/usr/local/var/rbenv
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -17,8 +17,8 @@ fi
|
|||
# Editors
|
||||
#
|
||||
|
||||
export EDITOR='nano'
|
||||
export VISUAL='nano'
|
||||
export EDITOR='vim'
|
||||
export VISUAL='vim'
|
||||
export PAGER='less'
|
||||
|
||||
#
|
||||
|
@ -44,6 +44,7 @@ typeset -gU cdpath fpath mailpath path
|
|||
# Set the list of directories that Zsh searches for programs.
|
||||
path=(
|
||||
/usr/local/{bin,sbin}
|
||||
/Users/ali/bin
|
||||
$path
|
||||
)
|
||||
|
||||
|
@ -71,4 +72,8 @@ if [[ ! -d "$TMPDIR" ]]; then
|
|||
mkdir -p -m 700 "$TMPDIR"
|
||||
fi
|
||||
|
||||
alias todo=/usr/local/bin/todo.sh
|
||||
alias t=/usr/local/bin/todo.sh
|
||||
|
||||
|
||||
TMPPREFIX="${TMPDIR%/}/zsh"
|
||||
|
|
|
@ -11,3 +11,9 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
|
|||
fi
|
||||
|
||||
# Customize to your needs...
|
||||
|
||||
[[ -s `brew --prefix`/etc/autojump.sh ]] && . `brew --prefix`/etc/autojump.sh
|
||||
|
||||
|
||||
source ~/.fzf.zsh
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue