all repos — dotfiles @ 655c2bfc071db34c0c754710ac4ee4d0aba1f5d7

my *nix dotfiles

zsh/.zshrc (view raw)

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