all repos

dotfiles @ 08e75ea6e9b8b3bca550ad6a9f8f7dedfc219b35

i use rach linux btw

dotfiles/zshrc (view raw)

1
## StartShip
2
# eval "$(starship init zsh)"
3
4
## Variables
5
export GOPATH="$HOME/go"
6
export PATH="$HOME/bin:$HOME/.local/bin:$HOME/.golang/bin:$GOPATH/bin:$HOME/.yarn/bin:$HOME/.luarocks/bin:$HOME/.cargo/bin:$PATH"
7
export EDITOR="nvim"
8
9
## Oh my zsh
10
plugins=(git dotenv npm yarn extract)
11
ZSH_THEME="simple"
12
DISABLE_AUTO_TITLE="true"
13
source "$HOME/.oh-my-zsh/oh-my-zsh.sh"
14
15
## FNM
16
eval $(fnm env)
17
18
## Zoxide
19
eval "$(zoxide init zsh)"
20
21
## Functions
22
dotnet() {
23
  $HOME/dotnet/dotnet "$@"
24
}
25
26
## Aliases
27
alias cls="clear" cp="cp -r" mkdir="mkdir -p" open="open_command" lg="lazygit"
28
alias v="nvim" vim="v" m="make"
29
alias ...="cd ../.." .3="cd ../../.."
30
alias gor="go run" gob="go build" gog="go get" goi="go install" got="go test"
31
alias n="npm" asdfi=". /opt/asdf-vm/asdf.sh"
32
33
if [[ -f "/bin/exa" ]]; then
34
   alias ls="exa -l" ll="ls" la="ls -a"
35
fi