-
Notifications
You must be signed in to change notification settings - Fork 0
/
zshrc
41 lines (28 loc) · 898 Bytes
/
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
# Path to your oh-my-zsh installation.
export ZSH="/home/jhorn/.oh-my-zsh"
export EDITOR=nvim
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="gentoo"
# Add wisely, as too many plugins slow down shell startup.
plugins=(git golang docker docker-compose node npm sudo tmux rust fzf)
source $ZSH/oh-my-zsh.sh
# User configuration
export LANG=en_US.UTF-8
# Add $HOME/.local/bin to the path
export PATH=$HOME/.local/bin:$PATH
# Rust
source $HOME/.cargo/env
# Node
export PATH=$HOME/node/bin:$PATH
# Go
export PATH=$HOME/go/bin:$PATH
# alias
alias cls=clear
alias startx='ssh-agent startx'
# don't share history
unsetopt share_history
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
[ -f /usr/share/fzf/completion.zsh ] && source /usr/share/fzf/completion.zsh
[ -f /usr/share/fzf/key-bindings.zsh ] && source /usr/share/fzf/key-bindings.zsh
neofetch
eval "$(starship init zsh)"