Add mc config, lazygit/nerd-font installers, fzf/zoxide bash integration

- New mc package: seasons-winter16M skin (fixes washed-out file colors
  under the old default skin), arrow-key panel navigation, and
  Backspace bound as an alt key for CdParent (Double Commander-style
  parent-dir navigation).
- setup.sh: install_lazygit and install_nerd_font helpers, since
  neither ships as an apt/PPA package on this distro anymore.
- bash/.bashrc.omb: wire up fzf key-bindings and zoxide, drop the now-
  redundant bashmarks plugin, enable globstar, and widen history.
This commit is contained in:
2026-08-03 21:41:22 -04:00
parent 1b378b4321
commit a839cb0d87
5 changed files with 741 additions and 1 deletions
+20 -1
View File
@@ -17,7 +17,6 @@ if [ -d "$HOME/.oh-my-bash" ]; then
plugins=(
git
bashmarks
)
source "$OSH/oh-my-bash.sh"
@@ -26,6 +25,26 @@ fi
# PATH
export PATH="$HOME/.local/bin:$PATH"
# History
HISTSIZE=100000
HISTFILESIZE=200000
HISTTIMEFORMAT="%F %T "
# Recursive globbing with **
shopt -s globstar
# fzf — fuzzy Ctrl+R history / Ctrl+T file search
if command -v fzf &>/dev/null; then
for f in /usr/share/doc/fzf/examples/key-bindings.bash /usr/share/fzf/key-bindings.bash; do
[ -f "$f" ] && source "$f" && break
done
fi
# zoxide — frecency-based `cd` replacement (use `z <dir>`)
if command -v zoxide &>/dev/null; then
eval "$(zoxide init bash)"
fi
# Color support
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"