Better iTerm support (#129)
This commit is contained in:
parent
163916387a
commit
df54203d74
6 changed files with 39720 additions and 49 deletions
|
@ -1,4 +1,4 @@
|
||||||
|
export TERM="xterm-256color"
|
||||||
export GOPATH=`realpath "$HOME/go"`
|
export GOPATH=`realpath "$HOME/go"`
|
||||||
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
|
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
|
||||||
export PATH=$HOME/tools:$PATH
|
export PATH=$HOME/tools:$PATH
|
||||||
|
|
2
.zprezto
2
.zprezto
|
@ -1 +1 @@
|
||||||
Subproject commit 4f19700919c8ebbaf75755fc0d03716d13183f49
|
Subproject commit 83ab314b77d7e6bd92b7aed6275ad03018b378c1
|
|
@ -42,7 +42,8 @@ zstyle ':prezto:load' pmodule \
|
||||||
#
|
#
|
||||||
|
|
||||||
# Set the query found color.
|
# Set the query found color.
|
||||||
# zstyle ':prezto:module:autosuggestions:color' found ''
|
zstyle ':prezto:module:autosuggestions' color 'yes'
|
||||||
|
zstyle ':prezto:module:autosuggestions:color' found 'fg=240'
|
||||||
|
|
||||||
#
|
#
|
||||||
# Editor
|
# Editor
|
||||||
|
|
44
.zprofile
44
.zprofile
|
@ -1,72 +1,28 @@
|
||||||
#
|
|
||||||
# Executes commands at login pre-zshrc.
|
|
||||||
#
|
|
||||||
# Authors:
|
|
||||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
||||||
#
|
|
||||||
|
|
||||||
#
|
|
||||||
# Browser
|
|
||||||
#
|
|
||||||
|
|
||||||
if [[ "$OSTYPE" == darwin* ]]; then
|
if [[ "$OSTYPE" == darwin* ]]; then
|
||||||
export BROWSER='open'
|
export BROWSER='open'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
|
||||||
# Editors
|
|
||||||
#
|
|
||||||
|
|
||||||
export EDITOR='vim'
|
export EDITOR='vim'
|
||||||
export VISUAL='vim'
|
export VISUAL='vim'
|
||||||
export PAGER='less'
|
export PAGER='less'
|
||||||
|
|
||||||
#
|
|
||||||
# Language
|
|
||||||
#
|
|
||||||
|
|
||||||
if [[ -z "$LANG" ]]; then
|
if [[ -z "$LANG" ]]; then
|
||||||
export LANG='en_GB.UTF-8'
|
export LANG='en_GB.UTF-8'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
|
||||||
# Paths
|
|
||||||
#
|
|
||||||
|
|
||||||
# Ensure path arrays do not contain duplicates.
|
|
||||||
typeset -gU cdpath fpath mailpath path
|
typeset -gU cdpath fpath mailpath path
|
||||||
|
|
||||||
# Set the the list of directories that cd searches.
|
|
||||||
# cdpath=(
|
|
||||||
# $cdpath
|
|
||||||
# )
|
|
||||||
|
|
||||||
|
|
||||||
# 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}
|
||||||
$path
|
$path
|
||||||
)
|
)
|
||||||
|
|
||||||
#
|
|
||||||
# Less
|
|
||||||
#
|
|
||||||
|
|
||||||
# Set the default Less options.
|
|
||||||
# Mouse-wheel scrolling has been disabled by -X (disable screen clearing).
|
|
||||||
# Remove -X and -F (exit if the content fits on one screen) to enable it.
|
|
||||||
export LESS='-F -g -i -M -R -S -w -X -z-4'
|
export LESS='-F -g -i -M -R -S -w -X -z-4'
|
||||||
|
|
||||||
# Set the Less input preprocessor.
|
|
||||||
# Try both `lesspipe` and `lesspipe.sh` as either might exist on a system.
|
|
||||||
if (( $#commands[(i)lesspipe(|.sh)] )); then
|
if (( $#commands[(i)lesspipe(|.sh)] )); then
|
||||||
export LESSOPEN="| /usr/bin/env $commands[(i)lesspipe(|.sh)] %s 2>&-"
|
export LESSOPEN="| /usr/bin/env $commands[(i)lesspipe(|.sh)] %s 2>&-"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#
|
|
||||||
# Temporary Files
|
|
||||||
#
|
|
||||||
|
|
||||||
if [[ ! -d "$TMPDIR" ]]; then
|
if [[ ! -d "$TMPDIR" ]]; then
|
||||||
export TMPDIR="/tmp/$LOGNAME"
|
export TMPDIR="/tmp/$LOGNAME"
|
||||||
mkdir -p -m 700 "$TMPDIR"
|
mkdir -p -m 700 "$TMPDIR"
|
||||||
|
|
3
.zshrc
3
.zshrc
|
@ -4,7 +4,7 @@ fi
|
||||||
|
|
||||||
COMPLETION_WAITING_DOTS="true"
|
COMPLETION_WAITING_DOTS="true"
|
||||||
|
|
||||||
plugins=(vi-mode svn git python zsh-syntax-highlighting history-substring-search)
|
plugins=(vi-mode svn git python syntax-highlighting history-substring-search spectrum sshi prompt gpg autosuggestions)
|
||||||
|
|
||||||
HISTFILE=~/.histfile
|
HISTFILE=~/.histfile
|
||||||
HISTSIZE=10240
|
HISTSIZE=10240
|
||||||
|
@ -37,5 +37,4 @@ fi
|
||||||
|
|
||||||
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
|
||||||
|
|
||||||
# added by travis gem
|
|
||||||
[ -f /home/cyryl/.travis/travis.sh ] && source /home/cyryl/.travis/travis.sh
|
[ -f /home/cyryl/.travis/travis.sh ] && source /home/cyryl/.travis/travis.sh
|
||||||
|
|
39715
macosx/com.googlecode.iterm2.plist
Normal file
39715
macosx/com.googlecode.iterm2.plist
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue