From 2994cd34e3f063c81b75efabae9ae461ea7f7924 Mon Sep 17 00:00:00 2001 From: Philippe Serhal Date: Sun, 19 Jul 2026 08:22:09 -0400 Subject: [PATCH] fix: use modern bash --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3a2afbc..782eab7 100644 --- a/README.md +++ b/README.md @@ -9,13 +9,16 @@ Personal dotfiles managed with [GNU Stow](https://www.gnu.org/software/stow/). ### Homebrew Packages ```bash -brew install bash-completion coreutils difftastic font-inconsolata-nerd-font gh git gnupg htop hub mise neovim ripgrep shellcheck starship stow the_silver_searcher tree-sitter tree-sitter-cli wget +brew install bash bash-completion coreutils difftastic font-inconsolata-nerd-font gh git gnupg htop hub mise neovim ripgrep shellcheck starship stow the_silver_searcher tree-sitter tree-sitter-cli wget ``` ### Change Default Shell to Bash +macOS ships an ancient Bash 3.2 (last GPLv2 release) as `/bin/bash`. Use Homebrew's modern Bash instead: + ```bash -chsh -s /bin/bash +sudo sh -c 'echo /opt/homebrew/bin/bash >> /etc/shells' +chsh -s /opt/homebrew/bin/bash ``` Restart your terminal for the change to take effect. -- 2.51.2