-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzshrc
65 lines (45 loc) · 1.69 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
65
# Source the additional config in the .zsh folder
for config (~/.zsh/*.zsh) source $config
# Path to your oh-my-zsh installation.
export ZSH="/Users/floriantz/.oh-my-zsh"
ZSH_THEME="robbyrussell"
plugins=(git rust docker dotenv nvm ripgrep terraform yarn)
source $ZSH/oh-my-zsh.sh
# starship setup
eval "$(starship init zsh)"
#nvm
export NVM_DIR="$HOME/.nvm"
[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm
[ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && . "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
# Volta
export VOLTA_HOME="$HOME/.volta"
export PATH="$VOLTA_HOME/bin:$PATH"
#broot
source /Users/floriantz/.config/broot/launcher/bash/br
# Aliases
alias rgf='rg --files | rg'
alias tailscale='/Applications/Tailscale.app/Contents/MacOS/Tailscale'
# TFSwitch
export PATH=$PATH:$HOME/bin
# Nix
if [ -e '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh' ]; then
. '/nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh'
fi
# End Nix
export PATH=$HOME/.nix-profile/bin:$PATH
eval "$(atuin init zsh)"
eval "$(direnv hook zsh)"
# Created by `pipx` on 2024-03-26 15:30:26
export PATH="$PATH:/Users/floriantz/.local/bin"
# >>> mamba initialize >>>
# !! Contents within this block are managed by 'mamba init' !!
export MAMBA_EXE='/opt/homebrew/opt/micromamba/bin/micromamba';
export MAMBA_ROOT_PREFIX='/Users/floriantz/micromamba';
__mamba_setup="$("$MAMBA_EXE" shell hook --shell zsh --root-prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__mamba_setup"
else
alias micromamba="$MAMBA_EXE" # Fallback on help from mamba activate
fi
unset __mamba_setup
# <<< mamba initialize <<<