-
Notifications
You must be signed in to change notification settings - Fork 0
/
dot_zshrc
56 lines (45 loc) · 1.32 KB
/
dot_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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Fig pre block. Keep at the top of this file.
# ## PATH
export PATH="$HOME/.jenv/bin:$PATH"
export PATH="/Users/vrodriguez/bin:$PATH"
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi
## ALIASES
alias "open -a vscode"=code
alias k=kubectl
#alias ll='ls -lG'
alias nv='nvim'
### Easier navigation
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
alias l='exa'
alias ll='exa -l --icons'
alias la='exa -la --icons'
alias ld='exa -lD --icons'
alias lt='exa -T --icons'
alias llg='exa -l --git-ignore --icons'
## goenv
# setup shell by putting below into ~/.bash_profile (for zsh users use ~/.zshenv instead)
# Tell goenv where the GOPATH prefix is for all go versions
# export GOENV_GOPATH_PREFIX=$HOME/git/go
# Setup and Init goenv
# export GOENV_ROOT="$HOME/.goenv"
# export PATH="$GOENV_ROOT/bin:$PATH"
#eval "$(goenv init -)"
# export PATH="$GOROOT/bin:$PATH"
# export PATH="$PATH:$GOPATH/bin"
# This is a change
## jenv
# eval "$(jenv init -)"
## STARSHIP prompt
eval "$(starship init zsh)"
# Fig post block. Keep at the bottom of this file.
source /usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# neofetch