all repos — dotfiles @ 211879bfe6b63885ddb4fb51aa8fc7ecb66da18b

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