/
.zshrc
64 lines (48 loc) · 1.47 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME=""
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
export EDITOR=nvim
export SHELL=/bin/zsh
# fnm
export PATH="/home/choffmann/.local/share/fnm:$PATH"
eval "`fnm env`"
eval "$(fnm env --use-on-cd)"
# tmux
# if [ "$TMUX" = "" ]; then tmux; fi
# alias
alias vim=nvim
alias clr=clear
alias k=kubectl
alias kctx=kubectx
alias kns="kubectl config set-context --current --namespace "
alias spotify="chromium --profile-directory=Default --app-id=pjibgclleladliembfgfagdaldikeohf --app-launch-url-for-shortcuts-menu-item=https://open.spotify.com/intl-de"
alias open=xdg-open
alias dotfiles="cd ~/dotfiles"
alias lg="lazygit"
alias hsfl-vpn="/opt/cisco/anyconnect/bin/vpnui"
alias reboot="sudo reboot now"
alias shutdown="sudo shutdown now"
alias hypr-logout="hyprctl dispatch exit"
alias display="nwg-displays"
# fzf
source /usr/share/fzf/completion.zsh
source /usr/share/fzf/key-bindings.zsh
export PATH="$PATH:$(yarn global bin)"
export PATH=~/.cargo/bin:$PATH
export PATH=/usr/local/texlive/2023/bin/x86_64-linux/:$PATH
# Star Ship
eval "$(starship init zsh)"
# Zoxide
eval "$(zoxide init zsh)"
# fnm
export PATH="/home/choffmann/.local/share/fnm:$PATH"
eval "`fnm env`"
export SSH_AUTH_SOCK="$XDG_RUNTIME_DIR/ssh-agent.socket"
# gem
export GEM_HOME="/home/choffmann/.local/share/gem/ruby/3.0.0"
export PATH="$GEM_HOME/bin:$PATH"
# elixir asdf
. /opt/asdf-vm/asdf.sh
# golang
export PATH="$(go env GOPATH)/bin:$PATH"