Created
May 23, 2011 18:07
-
-
Save ptzn/987190 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setopt autocd | |
setopt CORRECT | |
autoload -U compinit | |
compinit | |
#zmodload zsh/complist | |
zstyle ':completion:*' menu yes select | |
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS} | |
zstyle ':completion:*:processes' command 'ps -xuf' | |
zstyle ':completion:*:processes' sort false | |
zstyle ':completion:*:processes-names' command 'ps xho command' | |
export PROMPT="[%n@%m %3~ %(!.#.$)]" | |
autoload -U predict-on | |
zle -N predict-on | |
zle -N predict-off | |
bindkey "^X^Z" predict-on # C-x C-z | |
bindkey "^Z" predict-off # C-z | |
#history | |
HISTFILE=~/.zhistory | |
## Число команд, сохраняемых в HISTFILE | |
SAVEHIST=500 | |
## Чucлo koмaнg, coxpaняeмыx в сеансе | |
HISTSIZE=500 | |
DIRSTACKSIZE=20 | |
# Опции истории команд | |
## Дополнение файла истрии | |
setopt APPEND_HISTORY | |
## Игнopupoвaть вce пoвтopeнuя команд | |
setopt HIST_IGNORE_ALL_DUPS | |
## Игнopupo���� лишние пpoбeлы | |
setopt HIST_IGNORE_SPACE | |
## Удалять из файл� истории пустые строки | |
setopt HIST_REDUCE_BLANKS | |
export PATH=$PATH:/usr/local/sbin:$HOME/bin | |
unset LC_ALL | |
export LANG=C | |
export LC_CTYPE="ru_RU.UTF-8" | |
export LC_NUMERIC="ru_RU.UTF-8" | |
export LC_TIME="ru_RU.UTF-8" | |
export LC_COLLATE="ru_RU.UTF-8" | |
export LC_MONETARY="ru_RU.UTF-8" | |
export LC_MESSAGES=C | |
export LC_PAPER="ru_RU.UTF-8" | |
export LC_NAME="ru_RU.UTF-8" | |
export LC_ADDRESS="ru_RU.UTF-8" | |
export LC_TELEPHONE="ru_RU.UTF-8" | |
export LC_MEASUREMENT="ru_RU.UTF-8" | |
export LC_IDENTIFICATION="ru_RU.UTF-8" | |
#alias'ы команд | |
alias e='emacsclient -n' | |
alias diff='diff -u' | |
alias ls='ls -alh' | |
alias du='du -h' | |
alias rbtest='ruby -Itest' | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment