all repos

dotfiles @ e8de9a14cd78c755d33e3b9876fa1d2eee1b5a2f

i use rach linux btw

dotfiles/zshrc (view raw)

1
export ZSH="$HOME/.oh-my-zsh"
2
export PATH="$HOME/bin:$HOME/.local/bin:$PATH"
3
#source ~/.env
4
source ~/.profile
5
6
### Oh my zsh ###
7
ZSH_THEME="cyan-simple"         # Set theme
8
#CASE_SENSITIVE="true"          # Use case-sensitive completion.
9
#HYPHEN_INSENSITIVE="true"      # Case-sensitive completion must be off.
10
#DISABLE_AUTO_UPDATE="true"     # Disable bi-weekly auto-update checks.
11
#DISABLE_UPDATE_PROMPT="true"   # Automatically update without prompting.
12
#DISABLE_MAGIC_FUNCTIONS="true" # If pasting URLs and other text is messed up.
13
#DISABLE_LS_COLORS="true"       # Disable colors in ls.
14
#DISABLE_AUTO_TITLE="true"      # Disable auto-setting terminal title.
15
#ENABLE_CORRECTION="true"       # Enable command auto-correction.
16
#COMPLETION_WAITING_DOTS="true" # Display red dots whilst waiting for completion.
17
export UPDATE_ZSH_DAYS=7        # Change how often to auto-update.
18
export LANG=en_US.UTF-8         # Set locale
19
20
plugins=(pip python pass golang sudo heroku git taskwarrior encode64)
21
source $ZSH/oh-my-zsh.sh
22
23
24
### Variables ###
25
export EDITOR="nvim"
26
export VISUAL="nvim"
27
28
### Function ###
29
function bgcolor {
30
    convert -size 1x1 xc:$1 /tmp/bgc.png
31
    feh --bg-tile /tmp/bgc.png
32
}
33
34
### Aliases ###
35
alias cls="clear"
36
alias :q="exit"
37
alias q="exit"
38
alias :qw="exit"
39
alias tmux="tmux -2"
40
alias vim="nvim"
41
alias mkdir="mkdir -p"
42
alias sl="ls"
43
alias cp="cp -r"
44
alias du="du -sh"
45
alias df="df -h"
46
alias icat="kitty +kitten icat"
47
alias ..="cd .."
48
alias ...="cd ../.."
49
alias .3="cd ../../.."
50
alias .4="cd ../../../.."
51
alias .5="cd ../../../../.."
52
alias .6="cd ../../../../../.."
53
54
eval $(thefuck --alias)