zsh/.zshrc (view raw)
1# __
2# ____ _____/ /_ __________
3# /_ / / ___/ __ \/ ___/ ___/
4# _ / /_(__ ) / / / / / /__
5#(_)___/____/_/ /_/_/ \___/
6#
7
8# export thingys
9export ZSH=/home/$USER/.oh-my-zsh
10export BROWSER=/usr/bin/firefox
11export EDITOR=/usr/bin/nvim
12export SSH_KEY_PATH="~/.ssh/id_rsa"
13export PATH=$PATH:$HOME/bin
14export GPG_TTY=$(tty)
15export INPUTRC=~/.inputrc
16export PATH=$PATH:$HOME/Leet/Nim/bin
17export PATH=$PATH:$HOME/.nimble/bin
18
19# theme specefic
20ZSH_THEME="icy"
21COMPLETION_WAITING_DOTS="true"
22
23# plugins
24plugins=(git zsh-autosuggestions zsh-syntax-highlighting k)
25
26# sourced scripts
27source $ZSH/oh-my-zsh.sh
28source /usr/share/autojump/autojump.zsh
29source $HOME/.aliases
30
31# end and home keys
32bindkey "^[[1~" beginning-of-line
33bindkey "^[[4~" end-of-line
34
35[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
36
37# base16-shell
38BASE16_SHELL="$HOME/.config/base16-shell/"
39[ -n "$PS1" ] && \
40 [ -s "$BASE16_SHELL/profile_helper.sh" ] && \
41 eval "$("$BASE16_SHELL/profile_helper.sh")"
42
43# nvm
44export NVM_DIR="$HOME/.nvm"
45[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
46[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"