all repos

dotfiles @ b11c53f63484469afdfc65a90853d62a01c7d43a

i use rach linux btw

dotfiles/zshrc (view raw)

1
export PATH="$HOME/.yarn/bin:$HOME/bin:$HOME/.application:$HOME/.local/bin:$PATH"
2
3
### Oh my zsh ###
4
export ZSH="$HOME/.oh-my-zsh"
5
ZSH_THEME="simple"              # Set theme.
6
#CASE_SENSITIVE="true"          # Use case-sensitive completion.
7
#HYPHEN_INSENSITIVE="true"      # Case-sensitive completion must be off.
8
#DISABLE_AUTO_UPDATE="true"     # Disable bi-weekly auto-update checks.
9
DISABLE_UPDATE_PROMPT="true"    # Automatically update without prompting.
10
#DISABLE_MAGIC_FUNCTIONS="true" # If pasting URL and other text is messed up.
11
#DISABLE_LS_COLORS="true"       # Disable colors in ls.
12
DISABLE_AUTO_TITLE="true"       # Disable auto-setting terminal title.
13
#ENABLE_CORRECTION="true"       # Enable command auto-correction.
14
#COMPLETION_WAITING_DOTS="true" # Display red dots whilst waiting for completion.
15
export UPDATE_ZSH_DAYS=7        # Change how often to auto-update.
16
17
plugins=(yarn nvm)
18
source $ZSH/oh-my-zsh.sh
19
20
### Variables
21
export EDITOR="nvim"
22
export VISUAL="nvim"
23
24
### Functions
25
bgcolor() {
26
    convert -size 1x1 xc:"#$1" /tmp/bgc.png
27
    feh --bg-tile /tmp/bgc.png
28
}
29
backup() {
30
    cp $1 $1.bak
31
}
32
33
### Aliases
34
alias cls="clear"
35
alias mkdir="mkdir -p"
36
alias cp="cp -r"
37
alias du="du -sh"
38
alias vim="nvim"
39
alias vi="vim"
40
alias d="docker"
41
alias wiki="vi +Wiki"
42
alias tmux="tmux -2"
43
alias :q="exit"
44
alias ..="cd .."
45
alias ...="cd ../.."