214b4485 |
export TERM=xterm-256color
[ -n "$TMUX" ] && export TERM=screen-256color
[[ $TERM != screen* ]] && (tmux -q has-session && exec tmux attach-session || exec tmux new-session)
|
de946906 |
# Path to your oh-my-zsh configuration.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded. |
0568ba1b |
export ZSH_THEME="cinan" |
de946906 |
# Set to this to use case-sensitive completion
# export CASE_SENSITIVE="true"
# Comment this out to disable weekly auto-update checks
export DISABLE_AUTO_UPDATE="true"
# Uncomment following line if you want to disable colors in ls
# export DISABLE_LS_COLORS="true"
# Uncomment following line if you want to disable autosetting terminal title.
# export DISABLE_AUTO_TITLE="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse) |
0568ba1b |
plugins=(git git-flow cap gem zsh-syntax-highlighting) |
de946906 |
source /etc/profile
source $ZSH/oh-my-zsh.sh |
214b4485 |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* |
de946906 |
|
214b4485 |
setopt extended_glob |
8393eaac |
unsetopt nomatch |
f6c11cb7 |
unsetopt correctall |
8393eaac |
|
de946906 |
# Customize to your needs...
LS_COLORS='no=00;32:fi=00:di=00;34:ln=01;36:pi=04;33:so=01;35:bd=33;04:cd=33;04:or=31;01:ex=00;32:*.rtf=00;33:*.txt=00;33:*.html=00;33:*.doc=00;33:*.pdf=00;33:*.ps=00;33:*.sit=00;31:*.hqx=00;31:*.bin=00;31:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.deb=00;31:*.dmg=00;36:*.jpg=00;35:*.gif=00;35:*.bmp=00;35:*.ppm=00;35:*.tga=00;35:*.xbm=00;35:*.xpm=00;35:*.tif=00;35:*.mpg=00;37:*.avi=00;37:*.gl=00;37:*.dl=00;37:*.mov=00;37:*.mp3=00;35:'
export LS_COLORS;
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS} |
80682767 |
ZSH_HIGHLIGHT_STYLES+=(
default 'none'
unknown-token 'fg=red,bold'
reserved-word 'fg=yellow'
alias 'fg=none,bold'
builtin 'fg=none,bold'
function 'fg=none,bold'
command 'fg=none,bold'
hashed-command 'fg=none,bold'
path 'fg=cyan'
globbing 'fg=cyan'
history-expansion 'fg=blue'
single-hyphen-option 'fg=magenta'
double-hyphen-option 'fg=magenta'
back-quoted-argument 'fg=magenta,bold'
single-quoted-argument 'fg=green'
double-quoted-argument 'fg=green'
dollar-double-quoted-argument 'fg=cyan'
back-double-quoted-argument 'fg=cyan'
assign 'none'
) |
de946906 |
|
214b4485 |
bindkey "" beginning-of-line
bindkey "" end-of-line |
3dcc2c8e |
bindkey "^[OD" backward-word
bindkey "^[OC" forward-word |
214b4485 |
bindkey "" gosmacs-transpose-chars |
bcacad99 |
alias noh="unsetopt sharehistory"
|
8699cb14 |
alias nogit="disable_git_prompt_info; compdef -d git" |
0568ba1b |
alias cal="cal -m"
alias du="du -hs"
alias df="df -h"
alias grep="grep --colour -i"
alias vi="vim -u ~/.vimrc"
alias rtorrent="rtorrent -o http_capath=/etc/ssl/certs"
alias m="cd /media/data/"
alias toclip="xclip -selection clipboard"
alias fromclip="xclip -selection clipboard -o"
alias cpuspeed="watch grep \\\"cpu MHz\\\" /proc/cpuinfo"
alias rm="rm -v"
alias mv="mv -v"
alias cp="cp -v"
alias y="yaourt -Syu --aur" |
214b4485 |
alias n="ncmpcpp"
alias chromium="chromium --disk-cache-dir=/home/cinan/.config/chromium/Cache" |
4df56908 |
|
0568ba1b |
export EDITOR="vim" |
214b4485 |
#export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd'
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dawt.RenderingHint=lcd' |
0568ba1b |
#--laf javax.swing.plaf.metal.MetalLookAndFeel
#--laf com.sun.java.swing.plaf.gtk.GTKLookAndFeel
export HISTFILE=~/.zsh_history
export HISTSIZE=10000
export SAVEHIST=10000
|
214b4485 |
export PATH=$PATH:$HOME/.rvm/bin:$HOME/system/bin
|