Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [[ $- != *i* ]] && return
- # The following lines were added by compinstall
- screenfetch | lolcat
- ## OH-MY-ZSH!
- ZSH=/usr/share/oh-my-zsh/
- ZSH_THEME="gnzh"
- DISABLE_AUTO_UPDATE="true"
- plugins=(git adb archlinux colored-man-pages colorize emoji extract sudo systemd themes)
- ZSH_CACHE_DIR=$HOME/.oh-my-zsh-cache
- if [[ ! -d $ZSH_CACHE_DIR ]]; then
- mkdir $ZSH_CACHE_DIR
- fi
- source $ZSH/oh-my-zsh.sh
- ## OH-MY-ZSH end
- autoload -U colors colors
- zstyle ':completion:*' completer _oldlist _expand _complete _ignored _approximate _prefix
- zstyle ':completion:*' expand prefix
- zstyle ':completion:*' file-sort name
- zstyle ':completion:*' format '%F{cyan}Дополнение, тип: %d%f'
- zstyle ':completion:*' group-name ''
- zstyle ':completion:*' list-colors ''
- zstyle ':completion:*' list-prompt %SAt %p: TAB для продолжения, букву для вставки %s
- zstyle ':completion:*' matcher-list 'm:{[:lower:]}={[:upper:]}' 'r:|[._-]=** r:|=**' 'l:|=* r:|=*'
- zstyle ':completion:*' max-errors 2
- zstyle ':completion:*' menu select=1
- zstyle ':completion:*' original true
- zstyle ':completion:*' preserve-prefix '//[^/]##/'
- zstyle ':completion:*' prompt '%F{red}Есть %e исправлений!%f'
- zstyle ':completion:*' select-prompt %SПрокрутка: выделение на %p%s
- zstyle ':completion:*' special-dirs true
- zstyle ':completion:*' squeeze-slashes true
- zstyle ':completion:*' verbose true
- zstyle :compinstall filename '/home/therasva/.zshrc'
- SPROMPT="Исправить %R на %r? <(Y)es/(N)o/(E)dit/(A)bort>"
- autoload -Uz compinit
- compinit
- # End of lines added by compinstall
- # Lines configured by zsh-newuser-install
- HISTFILE=~/.zhistfile
- HISTSIZE=10000
- SAVEHIST=15000
- setopt appendhistory inc_append_history sharehistory hist_ignore_all_dups
- setopt hist_reduce_blanks nonomatch noflowcontrol checkjobs longlistjobs
- setopt beep extendedglob notify interactive_comments autocd hash_list_all
- setopt correct_all
- bindkey -e
- # End of lines configured by zsh-newuser-install
- #[ -r /etc/profile.d/cnf.sh ] && source /etc/profile.d/cnf.sh
- export PATH=/home/therasva/.gem/ruby/2.3.0/bin:$PATH
- export PATH=/usr/local/cuda-8.0/bin:$PATH
- export EDITOR="nano"
- alias ll="ls -al --classify --color --human-readable --group-directories-first"
- alias killall="killall --interactive --verbose"
- alias free="free -t -m"
- alias zsh-refresh="source ~/.zshrc"
- alias zsh-edit="${EDITOR} ~/.zshrc"
- expand-or-complete-with-dots() {
- echo -n "\e[31m...loading...\e[0m"
- zle expand-or-complete
- zle redisplay
- }
- zle -N expand-or-complete-with-dots
- bindkey '^[[A' up-line-or-search # up arrow for back-history-search
- bindkey '^[[B' down-line-or-search # down arrow for fwd-history-search
- bindkey ';5D' backward-word # ctrl+left
- bindkey ';5C' forward-word # ctrl+right
- bindkey '\e[1~' beginning-of-line # home
- bindkey '\e[2~' overwrite-mode # insert
- bindkey '\e[3~' delete-char # del
- bindkey '\e[4~' end-of-line # end
- bindkey '\e[5~' up-line-or-history # page-up
- bindkey '\e[6~' down-line-or-history # page-down
- bindkey "^I" expand-or-complete-with-dots # tab
- if [ -f /usr/bin/grc ]; then
- alias grc='grc --colour=auto'
- alias ping='grc ping'
- alias last='grc last'
- alias netstat='grc netstat'
- alias traceroute='grc traceroute'
- alias make='grc make'
- alias gcc='grc gcc'
- alias configure='grc ./configure'
- alias cat="grc cat"
- alias tail="grc tail"
- alias head="grc head"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement