-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
48 lines (38 loc) · 873 Bytes
/
.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
# oh-my-zsh Setup
export ZSH="$HOME/.oh-my-zsh"
source $ZSH/oh-my-zsh.sh
# Variables
export VISUAL=nvim
export EDITOR=nvim
export TERM="tmux-256color"
export BROWSER="firefox"
# Aliases
alias ls='ls --color=auto'
alias la='ls -lathr'
alias syu='sudo pacman -Syu'
alias gp='git pull'
alias gs='git status'
alias lg='lazygit'
# Theme
ZSH_THEME="robbyrussell"
# Plugins
plugins=(git zsh-autosuggestions)
# Scripts
export PATH="$HOME/.config/scripts:$PATH"
# Starship
eval "$(starship init zsh)"
# Zoxide
export PATH="$HOME/.local/bin:$PATH"
eval "$(zoxide init zsh)"
# Bun
[ -s "$HOME/.bun/_bun" ] && source "$HOME/.bun/_bun"
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
# Fnm
FNM_PATH="/home/andrej/.local/share/fnm"
if [ -d "$FNM_PATH" ]; then
export PATH="/home/andrej/.local/share/fnm:$PATH"
eval "`fnm env`"
fi
# Macchina
macchina