1
0
Fork 0

personalization

pull/1515/head
Ali Moeeny 9 years ago
parent 4f19700919
commit fdb39192fc

@ -32,7 +32,15 @@ zstyle ':prezto:load' pmodule \
'spectrum' \ 'spectrum' \
'utility' \ 'utility' \
'completion' \ 'completion' \
'prompt' 'prompt' \
'git' \
'osx' \
'homebrew' \
'history-substring-search' \
'ssh' \
'emacs' \
'tmux'
# #
# Autosuggestions # Autosuggestions
@ -47,9 +55,10 @@ zstyle ':prezto:load' pmodule \
# Set the key mapping style to 'emacs' or 'vi'. # Set the key mapping style to 'emacs' or 'vi'.
zstyle ':prezto:module:editor' key-bindings 'emacs' zstyle ':prezto:module:editor' key-bindings 'emacs'
zstyle ':prezto:module:editor' key-bindings 'vi'
# Auto convert .... to ../.. # Auto convert .... to ../..
# zstyle ':prezto:module:editor' dot-expansion 'yes' zstyle ':prezto:module:editor' dot-expansion 'yes'
# #
# Git # Git
@ -63,7 +72,7 @@ zstyle ':prezto:module:editor' key-bindings 'emacs'
# #
# Set the command prefix on non-GNU systems. # 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 # History Substring Search
@ -116,7 +125,7 @@ zstyle ':prezto:module:prompt' theme 'sorin'
# #
# Set the SSH identities to load into the agent. # 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 # Syntax Highlighting
@ -124,32 +133,32 @@ zstyle ':prezto:module:prompt' theme 'sorin'
# Set syntax highlighters. # Set syntax highlighters.
# By default, only the main highlighter is enabled. # By default, only the main highlighter is enabled.
# zstyle ':prezto:module:syntax-highlighting' highlighters \ zstyle ':prezto:module:syntax-highlighting' highlighters \
# 'main' \ 'main' \
# 'brackets' \ 'brackets' \
# 'pattern' \ 'pattern' \
# 'line' \ 'line' \
# 'cursor' \ 'cursor' \
# 'root' 'root'
#
# Set syntax highlighting styles. # Set syntax highlighting styles.
# zstyle ':prezto:module:syntax-highlighting' styles \ zstyle ':prezto:module:syntax-highlighting' styles \
# 'builtin' 'bg=blue' \ 'builtin' 'bg=blue' \
# 'command' 'bg=blue' \ 'command' 'bg=blue' \
# 'function' 'bg=blue' 'function' 'bg=blue'
# #
# Terminal # Terminal
# #
# Auto set the tab and window titles. # 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. # 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. # Set the tab title format.
# zstyle ':prezto:module:terminal:tab-title' format '%m: %s' zstyle ':prezto:module:terminal:tab-title' format '%m: %s'
# #
# Tmux # Tmux
@ -163,3 +172,11 @@ zstyle ':prezto:module:prompt' theme 'sorin'
# Integrate with iTerm2. # Integrate with iTerm2.
# zstyle ':prezto:module:tmux:iterm' integrate 'yes' # 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 # Editors
# #
export EDITOR='nano' export EDITOR='vim'
export VISUAL='nano' export VISUAL='vim'
export PAGER='less' export PAGER='less'
# #
@ -44,6 +44,7 @@ typeset -gU cdpath fpath mailpath path
# Set the list of directories that Zsh searches for programs. # Set the list of directories that Zsh searches for programs.
path=( path=(
/usr/local/{bin,sbin} /usr/local/{bin,sbin}
/Users/ali/bin
$path $path
) )
@ -71,4 +72,8 @@ if [[ ! -d "$TMPDIR" ]]; then
mkdir -p -m 700 "$TMPDIR" mkdir -p -m 700 "$TMPDIR"
fi fi
alias todo=/usr/local/bin/todo.sh
alias t=/usr/local/bin/todo.sh
TMPPREFIX="${TMPDIR%/}/zsh" TMPPREFIX="${TMPDIR%/}/zsh"

@ -11,3 +11,9 @@ if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
fi fi
# Customize to your needs... # Customize to your needs...
[[ -s `brew --prefix`/etc/autojump.sh ]] && . `brew --prefix`/etc/autojump.sh
source ~/.fzf.zsh

Loading…
Cancel
Save