🎨 Update config

This commit is contained in:
Smirnov Olexandr 2020-11-11 22:48:06 +02:00
parent 394d56fa69
commit 07805d44aa
28 changed files with 845 additions and 415 deletions

72
zshrc
View file

@ -1,53 +1,35 @@
export ZSH="/home/sasha/.oh-my-zsh"
#export ZSH="/root/.oh-my-zsh"
source ~/.env
#ZSH_THEME="bureau"
ZSH_THEME="cyan-simple"
# Uncomment the following line to use case-sensitive completion.
#CASE_SENSITIVE="true"
### Oh my zsh ###
ZSH_THEME="cyan-simple" # Set theme
#CASE_SENSITIVE="true" # Use case-sensitive completion.
#HYPHEN_INSENSITIVE="true" # Case-sensitive completion must be off.
#DISABLE_AUTO_UPDATE="true" # Disable bi-weekly auto-update checks.
DISABLE_UPDATE_PROMPT="true" # Automatically update without prompting.
export UPDATE_ZSH_DAYS=13 # Change how often to auto-update.
#DISABLE_MAGIC_FUNCTIONS="true" # If pasting URLs and other text is messed up.
#DISABLE_LS_COLORS="true" # Disable colors in ls.
#DISABLE_AUTO_TITLE="true" # Disable auto-setting terminal title.
#ENABLE_CORRECTION="true" # Enable command auto-correction.
#COMPLETION_WAITING_DOTS="true" # Display red dots whilst waiting for completion.
export LANG=en_US.UTF-8 # Set locale
# Case-sensitive completion must be off. _ and - will be interchangeable.
#HYPHEN_INSENSITIVE="true"
# Uncomment the following line to disable bi-weekly auto-update checks.
#DISABLE_AUTO_UPDATE="true"
# Uncomment the following line to automatically update without prompting.
#DISABLE_UPDATE_PROMPT="true"
# Uncomment the following line to change how often to auto-update (in days).
export UPDATE_ZSH_DAYS=24
# Uncomment the following line if pasting URLs and other text is messed up.
#DISABLE_MAGIC_FUNCTIONS=true
# Uncomment the following line to disable colors in ls.
#DISABLE_LS_COLORS="true"
# Uncomment the following line to disable auto-setting terminal title.
export DISABLE_AUTO_TITLE="true"
# Uncomment the following line to enable command auto-correction.
#ENABLE_CORRECTION="true"
# You may need to manually set your language environment
export LANG=en_US.UTF-8
# Uncomment the following line to display red dots whilst waiting for completion.
#COMPLETION_WAITING_DOTS="true"
# Plugins
plugins=(pip python sudo git tmux taskwarrior)
plugins=(pip python sudo git taskwarrior)
source $ZSH/oh-my-zsh.sh
# User configuration
export EDITOR="vim"
### Aliases ###
alias cls="clear"
alias :q
echo "$(tput bold)Welcome:$(tput sgr0) $(whoami)"
source ~/.env
source ~/.profile
alias ..="cd .."
alias ...="cd ../.."
alias .3="cd ../../.."
alias .4="cd ../../../.."
alias .5="cd ../../../../.."
alias .6="cd ../../../../../.."
alias cls='clear'
alias :q="exit"
alias py='python3'
alias tozsh="chsh -s /bin/zsh && echo 'Now log out.'"
alias tofish="chsh -s /bin/fish && echo 'Now log out.'"
alias tobash="chsh -s /bin/bash && echo 'Now log out.'"