Smirnov Olexandr
Smirnov Olexandr
ss2316544@gmail.com Update kitty bg color, nvim config. Add bgcolor function in zshrc for set specific bg color, hot keys for archiving in vifm, 5 years ago
ss2316544@gmail.com Update kitty bg color, nvim config. Add bgcolor function in zshrc for set specific bg color, hot keys for archiving in vifm, 5 years ago
| 1 | export ZSH="$HOME/.oh-my-zsh" |
| 2 | export PATH="$HOME/bin:$PATH" |
| 3 | #source ~/.env |
| 4 | #source ~/.profile |
| 5 | |
| 6 | |
| 7 | ### Oh my zsh ### |
| 8 | ZSH_THEME="cyan-simple" # Set theme |
| 9 | #CASE_SENSITIVE="true" # Use case-sensitive completion. |
| 10 | #HYPHEN_INSENSITIVE="true" # Case-sensitive completion must be off. |
| 11 | #DISABLE_AUTO_UPDATE="true" # Disable bi-weekly auto-update checks. |
| 12 | #DISABLE_UPDATE_PROMPT="true" # Automatically update without prompting. |
| 13 | #DISABLE_MAGIC_FUNCTIONS="true" # If pasting URLs and other text is messed up. |
| 14 | #DISABLE_LS_COLORS="true" # Disable colors in ls. |
| 15 | #DISABLE_AUTO_TITLE="true" # Disable auto-setting terminal title. |
| 16 | #ENABLE_CORRECTION="true" # Enable command auto-correction. |
| 17 | #COMPLETION_WAITING_DOTS="true" # Display red dots whilst waiting for completion. |
| 18 | export UPDATE_ZSH_DAYS=13 # Change how often to auto-update. |
| 19 | export LANG=en_US.UTF-8 # Set locale |
| 20 | |
| 21 | plugins=(pip python sudo heroku git taskwarrior) |
| 22 | source $ZSH/oh-my-zsh.sh |
| 23 | |
| 24 | |
| 25 | ### Variables ### |
| 26 | export EDITOR="nvim" |
| 27 | export VISUAL="nvim" |
| 28 | |
| 29 | ### Function ### |
| 30 | function bgcolor { |
| 31 | convert -size 1x1 xc:$1 /tmp/bgc.png |
| 32 | feh --bg-tile /tmp/bgc.png |
| 33 | } |
| 34 | |
| 35 | ### Aliases ### |
| 36 | alias cls="clear" |
| 37 | alias :q="exit" |
| 38 | alias tmux="tmux -2" |
| 39 | alias icat="kitty +kitten icat" |
| 40 | |
| 41 | alias ..="cd .." |
| 42 | alias ...="cd ../.." |
| 43 | alias .3="cd ../../.." |
| 44 | alias .4="cd ../../../.." |
| 45 | alias .5="cd ../../../../.." |
| 46 | alias .6="cd ../../../../../.." |
| 47 | |
| 48 | alias tozsh="chsh -s /bin/zsh && echo 'Now log out.'" |
| 49 | alias tofish="chsh -s /bin/fish && echo 'Now log out.'" |
| 50 | alias tobash="chsh -s /bin/bash && echo 'Now log out.'" |
| 51 | |
| 52 | ### Pfetch ### |
| 53 | pfetch |