forked from kristijanhusak/neovim-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
42 lines (34 loc) · 1.11 KB
/
zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
ZSH_THEME="cloud_kris"
plugins=(git zsh-autosuggestions docker-compose z)
source $ZSH/oh-my-zsh.sh
. ~/z.sh
if [[ -r ~/.phpbrew/bashrc ]]; then
source ~/.phpbrew/bashrc
fi
alias n='nvim .'
alias install='sudo apt-get install'
alias search='sudo apt-cache search'
alias purge='sudo apt-get purge'
alias update='sudo apt-get purge'
alias c7="sudo chmod -R 777"
alias l="ls -l"
alias c="clear"
alias www="cd /var/www"
alias weather="curl http://wttr.in/Novi sad"
alias gs="git status"
alias code="cd ~/code"
export PATH=$PATH:/usr/local/go/bin:~/go/bin
export EDITOR=nvim
export MANPAGER="nvim -c 'set ft=man' -"
export FZF_DEFAULT_COMMAND='rg --files'
# use ctrl+t to toggle autosuggestions(hopefully this wont be needed as
# zsh-autosuggestions is designed to be unobtrusive)
bindkey '^t' autosuggest-execute
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=242'
[ -f ~/.zsh_secret ] && source ~/.zsh_secret
export NVM_DIR="/home/kristijan/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
[ -z "$TMUX" ] && exec tmux
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh