zsh/.zshrc (view raw)
1# __
2# ____ _____/ /_ __________
3# /_ / / ___/ __ \/ ___/ ___/
4# _ / /_(__ ) / / / / / /__
5#(_)___/____/_/ /_/_/ \___/
6#
7
8# export thingys
9export ZSH=/home/icyphox/.oh-my-zsh
10export BROWSER=/usr/bin/firefox-nightly
11export EDITOR=/usr/bin/vim
12export SSH_KEY_PATH="~/.ssh/rsa_id"
13export GOROOT=$HOME/go
14export PATH=$PATH:$GOROOT/bin
15export GPG_TTY=$(tty)
16export INPUTRC=~/.inputrc
17
18ZSH_THEME="simple"
19
20# plugins
21plugins=(git zsh-syntax-highlighting zsh-autosuggestions)
22
23source $ZSH/oh-my-zsh.sh
24#source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
25
26# aliases
27alias icysite="cd ~/leet/icysite"
28alias scrot="~/scripts/scrot.sh"
29alias icyinfo="~/scripts/icyinfo.sh"
30alias gah='sudo $(fc -ln -1)'
31alias lol="base64 </dev/urandom | lolcat"
32alias up="~/scripts/icyup.sh"
33alias envactivate="source .env/bin/activate"
34alias sxiv="sxiv -b"
35
36# end and home keys
37bindkey "^[[1~" beginning-of-line
38bindkey "^[[4~" end-of-line
39
40[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
41
42# gnome-keyring thing
43if [ -n "$DESKTOP_SESSION" ];then
44 eval $(gnome-keyring-daemon --start)
45 export SSH_AUTH_SOCK
46fi
47
48cd ~