all repos — dotfiles @ 20daeb91759b8a32f01e9b9f15f175288d927383

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
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
48BASE16_SHELL=$HOME/.config/base16-shell/
49[ -n "$PS1" ] && [ -s $BASE16_SHELL/profile_helper.sh ] && eval "$($BASE16_SHELL/profile_helper.sh)"
50
51cd ~