diff options
Diffstat (limited to 'zsh')
| -rw-r--r-- | zsh/.zshenv | 1 | ||||
| -rw-r--r-- | zsh/.zshrc | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/zsh/.zshenv b/zsh/.zshenv new file mode 100644 index 0000000..c2f3182 --- /dev/null +++ b/zsh/.zshenv @@ -0,0 +1 @@ +. "$HOME/.cargo/env" diff --git a/zsh/.zshrc b/zsh/.zshrc new file mode 100644 index 0000000..dcbf2f2 --- /dev/null +++ b/zsh/.zshrc @@ -0,0 +1,19 @@ +eval "$(/opt/homebrew/bin/brew shellenv)" +alias python=python3 +alias ls='ls -lah' + +# 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 |