all repos — dotfiles @ bc3ef7c413aa30f3673d2165f5cd88e0db5fc247

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/id_rsa"
13export GOROOT=$HOME/go
14export PATH=$PATH:$GOROOT/bin
15export PATH=$PATH:$HOME/bin
16export GPG_TTY=$(tty)
17export INPUTRC=~/.inputrc
18
19ZSH_THEME="spaceship"
20
21# plugins
22plugins=(git zsh-syntax-highlighting zsh-autosuggestions)
23
24source $ZSH/oh-my-zsh.sh
25source /usr/share/zsh/plugins/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 vi="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