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="~/bin/scrot.sh"
29alias icyinfo="~/bin/icyinfo.sh"
30alias gah='sudo $(fc -ln -1)'
31alias lol="base64 </dev/urandom | lolcat"
32alias up="~/bin/icyup.sh"
33alias vim="nvim"
34alias envactivate="source .env/bin/activate"
35alias sxiv="sxiv -b"
36
37# end and home keys
38bindkey "^[[1~" beginning-of-line
39bindkey "^[[4~" end-of-line
40
41[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
42
43# gnome-keyring thing
44if [ -n "$DESKTOP_SESSION" ];then
45 eval $(gnome-keyring-daemon --start)
46 export SSH_AUTH_SOCK
47fi
48