mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
47 lines
1.5 KiB
Bash
47 lines
1.5 KiB
Bash
export ZSH="$HOME/.oh-my-zsh"
|
|
export PATH="$HOME/bin:$PATH"
|
|
source ~/.env
|
|
source ~/.profile
|
|
|
|
|
|
### 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.
|
|
#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 UPDATE_ZSH_DAYS=13 # Change how often to auto-update.
|
|
export LANG=en_US.UTF-8 # Set locale
|
|
|
|
plugins=(pip python sudo heroku git taskwarrior)
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
|
|
### Variables ###
|
|
export EDITOR="nvim"
|
|
export VISUAL="nvim"
|
|
|
|
### Aliases ###
|
|
alias cls="clear"
|
|
alias :q="exit"
|
|
alias tmux="tmux -2"
|
|
alias icat="kitty +kitten icat"
|
|
|
|
alias ..="cd .."
|
|
alias ...="cd ../.."
|
|
alias .3="cd ../../.."
|
|
alias .4="cd ../../../.."
|
|
alias .5="cd ../../../../.."
|
|
alias .6="cd ../../../../../.."
|
|
|
|
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.'"
|
|
|
|
### Pfetch ###
|
|
pfetch
|