all repos — dotfiles @ 162cbb8b7bf3288ee55e5018def8ecbe05f2b91b

my *nix dotfiles

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
21#plugins=(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"
32
33# end and home keys
34bindkey "^[[1~" beginning-of-line
35bindkey "^[[4~" end-of-line
36
37[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
38
39# gnome-keyring thing
40if [ -n "$DESKTOP_SESSION" ];then
41    eval $(gnome-keyring-daemon --start)
42    export SSH_AUTH_SOCK
43fi