all repos — dotfiles @ 7f7c2781caf15fd3fb2bec257cffe696e8a303d1

my *nix dotfiles

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
20_nicy_prompt() {
21	PROMPT=$("$HOME/Dotfiles/zsh/prompt")
22}
23precmd_functions+=_nicy_prompt
24_nicy_prompt
25COMPLETION_WAITING_DOTS="true"
26
27# plugins
28plugins=(git zsh-autosuggestions zsh-syntax-highlighting k)
29
30# sourced scripts
31source $ZSH/oh-my-zsh.sh
32source /usr/share/autojump/autojump.zsh
33source $HOME/.aliases
34
35# end and home keys
36bindkey "^[[1~" beginning-of-line
37bindkey "^[[4~" end-of-line
38
39[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
40
41# base16-shell 
42BASE16_SHELL="$HOME/.config/base16-shell/"
43[ -n "$PS1" ] && \
44    [ -s "$BASE16_SHELL/profile_helper.sh" ] && \
45        eval "$("$BASE16_SHELL/profile_helper.sh")"
46
47# nvm
48export NVM_DIR="$HOME/.nvm"
49[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" 
50[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"