# Spoon container — neutral interactive shell defaults (system-wide). # Tools here benefit everyone; a user's ~/.bashrc (loaded via ~/.bash_profile, # which the worker ensures) layers on top and can override any of this. # Interactive shells only. case $- in *i*) ;; *) return ;; esac export EDITOR="${EDITOR:-nvim}" export PAGER="${PAGER:-less}" # User-local + bun install locations. export PATH="$HOME/.local/bin:$HOME/.bun/bin:$PATH" if command -v zoxide >/dev/null 2>&1; then eval "$(zoxide init bash)" fi if command -v eza >/dev/null 2>&1; then alias ls='eza --group-directories-first --icons' alias ll='eza -lh --group-directories-first --icons --git' alias la='eza -lha --group-directories-first --icons --git' alias lt='eza --tree --level=2 --icons --git' fi command -v bat >/dev/null 2>&1 && alias cat='bat --paging=never --style=plain' alias n='nvim' alias g='git' alias cl='clear' # fzf keybindings + completion when present. for f in /usr/share/fzf/shell/key-bindings.bash \ /usr/share/bash-completion/completions/fzf; do [ -f "$f" ] && . "$f" done if command -v oh-my-posh >/dev/null 2>&1 && [ -f /etc/spoon/omp.json ]; then eval "$(oh-my-posh init bash --config /etc/spoon/omp.json)" fi