aboutsummaryrefslogtreecommitdiff
path: root/zsh/.zshrc
blob: c20e5397f4fd012e4fc64a35d09ed434a4ea5a17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
eval "$(/opt/homebrew/bin/brew shellenv)"
alias python=python3
alias ls='ls -lah'
alias vim=nvim
alias ta='tmux attach'
alias td='tmux detach'

# bun completions
[ -s "/Users/yousefjan/.bun/_bun" ] && source "/Users/yousefjan/.bun/_bun"

# bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
export PATH="$HOME/.config/emacs/bin:$PATH"

export PATH="$HOME/.local/bin:$PATH"


if [ -z "$TMUX" ]; then
  tmux attach 2>/dev/null || tmux new -s main
fi