diff --git a/10-bun-path b/10-bun-path index f582a77..940d56a 100755 --- a/10-bun-path +++ b/10-bun-path @@ -1,3 +1,3 @@ # shellcheck shell=bash -# Add Bun (a fast JavaScript runtime and package manager) to PATH +# Bun — fast JavaScript runtime and package manager path_append "$HOME/.bun/bin" diff --git a/10-local-path b/10-local-path new file mode 100755 index 0000000..ae25591 --- /dev/null +++ b/10-local-path @@ -0,0 +1,3 @@ +# shellcheck shell=bash +# Add ~/.local/bin to PATH (pip, pipx, user-installed tools) +path_prepend "$HOME/.local/bin" diff --git a/10-maestro-path b/10-maestro-path new file mode 100755 index 0000000..cda345c --- /dev/null +++ b/10-maestro-path @@ -0,0 +1,3 @@ +# shellcheck shell=bash +# Add Maestro (mobile UI testing framework) to PATH +path_append "$HOME/.maestro/bin" diff --git a/20-rbenv b/20-rbenv new file mode 100755 index 0000000..484bf98 --- /dev/null +++ b/20-rbenv @@ -0,0 +1,5 @@ +# shellcheck shell=bash +# Initialize rbenv (Ruby version manager) +if [[ -x "$HOME/.rbenv/bin/rbenv" ]]; then + eval "$("$HOME/.rbenv/bin/rbenv" init - --no-rehash bash)" +fi diff --git a/30-shell-options b/30-shell-options new file mode 100755 index 0000000..a1c31ec --- /dev/null +++ b/30-shell-options @@ -0,0 +1,21 @@ +# shellcheck shell=bash +# Shell options: history, window size, and color support + +# History +HISTCONTROL=ignoredups +shopt -s histappend +HISTSIZE=1000 +HISTFILESIZE=2000 + +# Update LINES and COLUMNS after each command +shopt -s checkwinsize + +# Enable color support for ls +if command -v dircolors &>/dev/null; then + if [[ -r ~/.dircolors ]]; then + eval "$(dircolors -b ~/.dircolors)" + else + eval "$(dircolors -b)" + fi + alias ls='ls --color=auto' +fi