diff options
| author | y-jan137 <yousefjan24000@gmail.com> | 2026-04-08 10:02:08 +0300 |
|---|---|---|
| committer | y-jan137 <yousefjan24000@gmail.com> | 2026-04-08 10:02:08 +0300 |
| commit | 9e2709eea53b6fcece8145250e3c86b7d2709dcd (patch) | |
| tree | 64ae5d2b1376ae7388f4d70c12332a88282f49a1 /zsh | |
| parent | 1a8104551f8cef0cab3b0108856d77bcb67f0967 (diff) | |
Add tmux and zsh
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 |