# Lines configured by zsh-newuser-install HISTFILE=~/.histfile HISTSIZE=1000 SAVEHIST=10000 bindkey -v export KEYTIMEOUT=1 zstyle :compinstall filename '/home/g1smo/.zshrc' autoload -Uz compinit compinit export EDITOR="vim" export VISUAL="vim" # Color autoload colors zsh/terminfo colors # PATH additions export GOPATH=~/Sredstva/go export PATH="/home/g1smo/bin:$PATH:/home/g1smo/.gem/ruby/2.4.0/bin:$GOPATH/bin" # Default term (i3) export TERMINAL="gnome-terminal" export TERM="xterm-256color" # Prompt autoload -U promptinit promptinit autoload -Uz vcs_info zstyle ':vcs_info:*' check-for-changes true zstyle ':vcs_info:*' enable git svn hg zstyle ':vcs_info:*' formats '(%b) ' precmd () { vcs_info } setopt prompt_subst PROMPT='%n@%m %1~ %{$fg[green]%}${vcs_info_msg_0_}%{$fg[blue]%}» %{$reset_color%}' # Aliases alias ls='ls --color=auto' #alias vim='TERM=xterm-256color vim' alias vi='vim' alias apachelog="gnome-terminal -e \"tail -f /var/log/httpd/error_log\"" alias nvidiaoff="sudo modprobe -r nvidia_drm nvidia_modeset nvidia-uvm nvidia; sudo tee /proc/acpi/bbswitch <<