Smirnov Olexandr
Smirnov Olexandr
ss2316544@gmail.com Minimaze nvim config, update git config, clean configs, 5 years ago
ss2316544@gmail.com Minimaze nvim config, update git config, clean configs, 5 years ago
| 1 | export ZSH="$HOME/.oh-my-zsh" |
| 2 | export PATH="$HOME/.yarn/bin:$HOME/bin:$HOME/.local/bin:$GOPATH/bin:$PATH" |
| 3 | source ~/.profile |
| 4 | |
| 5 | ### Oh my zsh ### |
| 6 | ZSH_THEME="nten" # Set theme. |
| 7 | #CASE_SENSITIVE="true" # Use case-sensitive completion. |
| 8 | #HYPHEN_INSENSITIVE="true" # Case-sensitive completion must be off. |
| 9 | #DISABLE_AUTO_UPDATE="true" # Disable bi-weekly auto-update checks. |
| 10 | DISABLE_UPDATE_PROMPT="true" # Automatically update without prompting. |
| 11 | #DISABLE_MAGIC_FUNCTIONS="true" # If pasting URL and other text is messed up. |
| 12 | #DISABLE_LS_COLORS="true" # Disable colors in ls. |
| 13 | DISABLE_AUTO_TITLE="true" # Disable auto-setting terminal title. |
| 14 | #ENABLE_CORRECTION="true" # Enable command auto-correction. |
| 15 | COMPLETION_WAITING_DOTS="true" # Display red dots whilst waiting for completion. |
| 16 | export UPDATE_ZSH_DAYS=7 # Change how often to auto-update. |
| 17 | export LANG=en_US.UTF-8 # Set locale |
| 18 | |
| 19 | plugins=(python pip node npm yarn pass sudo git) |
| 20 | source $ZSH/oh-my-zsh.sh |
| 21 | |
| 22 | ### Variables ### |
| 23 | export EDITOR="nvim" |
| 24 | export VISUAL="nvim" |
| 25 | |
| 26 | ### Aliases ### |
| 27 | alias cls="clear" |
| 28 | alias mkdir="mkdir -p" |
| 29 | alias cp="cp -r" |
| 30 | alias du="du -sh" |
| 31 | alias df="df -h" |
| 32 | |
| 33 | # Program |
| 34 | alias vim="nvim" |
| 35 | alias vi="nvim" |
| 36 | alias tmux="tmux -2" |
| 37 | |
| 38 | # Exit |
| 39 | alias :q="exit" |
| 40 | alias q="exit" |
| 41 | |
| 42 | # Navigation |
| 43 | alias ..="cd .." |
| 44 | alias ...="cd ../.." |
| 45 | alias .3="cd ../../.." |
| 46 | alias .4="cd ../../../.." |
| 47 | alias .5="cd ../../../../.." |
| 48 | alias .6="cd ../../../../../.." |