Created
June 5, 2019 08:41
-
-
Save artyom/efc90a0cec6935a3847768f63552dbbe 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
# Correctly display UTF-8 with combining characters. | |
if [ "$TERM_PROGRAM" = "Apple_Terminal" ]; then | |
setopt combiningchars | |
fi | |
disable log | |
export CLICOLOR=1 | |
export GREP_OPTIONS='--color=auto' | |
export LESS='-iFXc' | |
export LANG="en_US.UTF-8" | |
export LC_ALL="en_US.UTF-8" | |
export EDITOR=vim | |
export VISUAL=$EDITOR | |
bindkey -e | |
autoload -Uz compinit | |
compinit | |
HISTFILE=.zsh_history | |
HISTSIZE=1000 | |
SAVEHIST=3000 | |
setopt AUTO_CONTINUE | |
setopt HIST_IGNORE_DUPS | |
setopt APPEND_HISTORY | |
CDPATH=.:$HOME:$HOME/Repositories/artyom | |
autoload -Uz vcs_info | |
zstyle ':vcs_info:*' enable git | |
zstyle ':vcs_info:*' formats ' %F{cyan}(%b)%f' | |
zstyle ':vcs_info:*' actionformats ' %F{cyan}(%b|%a)%f' | |
precmd () { vcs_info } | |
setopt PROMPT_SUBST | |
PROMPT='%B%F{red}%(?..%? )%f%F{white}%1~%f%b${vcs_info_msg_0_} %F{green}¶%f ' | |
mkdircd () { test "$1" && mkdir -p "$1" && cd "$1" ; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment