all repos

dotfiles @ e3c86138efc52aa469cd50d7908be29e538a25f3

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 golang pass 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
export GOPATH="$HOME/.go"
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 :q!="exit"
39
alias q="exit"
40
alias :qw="exit"
41
alias tmux="tmux -2"
42
alias vim="nvim"
43
alias mkdir="mkdir -p"
44
alias mkd="mkdir"
45
alias sl="ls"
46
alias cp="cp -r"
47
alias du="du -sh"
48
alias df="df -h"
49
alias lns="ln -s"
50
alias uln="unlink"
51
alias ipython="ipython --no-banner"
52
alias icat="kitty +kitten icat"
53
alias ..="cd .."
54
alias ...="cd ../.."
55
alias .3="cd ../../.."
56
alias .4="cd ../../../.."
57
alias .5="cd ../../../../.."
58
alias .6="cd ../../../../../.."
59
eval $(thefuck --alias)