31 lines
602 B
Bash
31 lines
602 B
Bash
# Paths
|
|
export ZSH="/home/tuan/.oh-my-zsh"
|
|
export PATH="$PATH:$HOME/.go/bin:$HOME/.local/bin:$HOME/.cargo/bin"
|
|
export GOPATH="$HOME/.go/"
|
|
|
|
# Alias
|
|
alias background='feh --randomize --bg-fill /usr/share/backgrounds/*'
|
|
alias gowinbuild='GOOS=windows GOARCH=amd64 go build'
|
|
alias pwgen='pwgen -y 20 1'
|
|
alias q="exit"
|
|
alias ranger='ranger --choosedir=$HOME/.rangerdir; LASTDIR=`cat $HOME/.rangerdir`; cd "$LASTDIR"'
|
|
alias xsel='xsel -ib'
|
|
|
|
# Theme
|
|
ZSH_THEME="agnoster"
|
|
|
|
# Plugins
|
|
plugins=(
|
|
git
|
|
history
|
|
)
|
|
|
|
# History
|
|
HISTORY_IGNORE='sudo veracrypt *|veracrypt *'
|
|
|
|
|
|
|
|
# Source
|
|
source $ZSH/oh-my-zsh.sh
|
|
|