all repos — dotfiles @ 44fb441f6faf1f01c1b29b49c5959c7a4b57a1bb

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/nvim
12export SSH_KEY_PATH="~/.ssh/rsa_id"
13export GOROOT=$HOME/go
14export PATH=$PATH:$GOROOT/bin
15export PATH=$PATH:$HOME/bin
16export GPG_TTY=$(tty)
17export INPUTRC=~/.inputrc
18
19ZSH_THEME="simple"
20
21# plugins
22plugins=(git zsh-syntax-highlighting zsh-autosuggestions)
23
24source $ZSH/oh-my-zsh.sh
25#source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
26
27# aliases
28alias icysite="cd ~/leet/icysite"
29alias scrot="~/bin/scrot.sh"
30alias icyinfo="~/bin/icyinfo.sh"
31alias gah='sudo $(fc -ln -1)'
32alias nvime='nvim ~/.config/nvim/init.vim'
33alias up="~/bin/icyup.sh"
34alias vim="nvim"
35alias envactivate="source .env/bin/activate"
36alias sxiv="sxiv -b"
37
38# end and home keys
39bindkey "^[[1~" beginning-of-line
40bindkey "^[[4~" end-of-line
41
42[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
43
44# gnome-keyring thing
45if [ -n "$DESKTOP_SESSION" ];then
46    eval $(gnome-keyring-daemon --start)
47    export SSH_AUTH_SOCK
48fi
49