Files
dotfiles/zsh/.zshrc
T
2026-04-08 21:42:04 -07:00

22 lines
504 B
Bash

export EDITOR="nvim"
export DOTNET_ROOT="/usr/local/share/dotnet"
alias py="python3"
alias pip="python3 -m pip"
alias border="sh ~/dotfiles/yabai/.config/yabai/border.sh"
alias ts="tailscale"
alias fetch="fastfetch"
eval "$(starship init zsh)"
function yy() {
local tmp="$(mktemp -t "yazi-cwd.XXXXXX")"
if command -v yazi &>/dev/null; then
yazi "$@" --cwd-file="$tmp"
else
nvim .
fi
if cwd="$(cat -- "$tmp")" && [ -n "$cwd" ] && [ "$cwd" != "$PWD" ]; then
cd -- "$cwd"
fi
rm -f -- "$tmp"
}