all repos

dotfiles @ 2921238137c841e2c0955db62ff6fa2919fa551c

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="lvim"
8
9
## FzF
10
export FZF_DEFAULT_COMMAND="fd -t f -t l -E node_modules -E env -E __pycache__ -E target"
11
12
## Oh my zsh
13
plugins=(git dotenv npm yarn extract)
14
ZSH_THEME="simple"
15
DISABLE_AUTO_TITLE="true"
16
source "$HOME/.oh-my-zsh/oh-my-zsh.sh"
17
18
## FNM
19
eval $(fnm env)
20
21
## Zoxide
22
eval "$(zoxide init zsh)"
23
24
## Functions
25
dotnet() {
26
  $HOME/dotnet/dotnet "$@"
27
}
28
asdf() {
29
  . /opt/asdf-vm/asdf.sh
30
  asdf $@
31
}
32
33
## Aliases
34
alias cls="clear" cp="cp -r" mkdir="mkdir -p" open="open_command" lg="lazygit"
35
alias lv="lvim" vim="lvim"
36
alias ...="cd ../.." .3="cd ../../.."
37
alias gor="go run" gob="go build" gog="go get" goi="go install" got="go test"
38
alias n="npm"
39
40
if [[ -f "/bin/exa" ]]; then
41
   alias ls="exa -l" ll="ls" la="ls -a"
42
fi