[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: kitty error w bash -bash: declare: -A: invalid option

From: write2mark1
Subject: Re: kitty error w bash -bash: declare: -A: invalid option
Date: Wed, 23 Feb 2022 11:56:34 -0800

tried that still gives the error
brew install bash
 brew unlink bash && brew link bash
 chsh -s /opt/homebrew/Cellar/bash/5.1.16/bin/bash

opening kitty

-bash: declare: -A: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]

On Wed, Feb 23, 2022 at 6:09 AM Chet Ramey <> wrote:

> On 2/22/22 5:16 PM, wrote:
> > for the past few weeks this error has been showing up everytime i open
> > kitty ; do you see such errors if so is there a bash fix for this as bash
> > seems to be throwing said error thanks
> You're using /bin/bash on macOS; that version is so old that it doesn't
> have associative arrays. Use your favorite package manager to install a
> current version and use that instead.
> Chet
> --
> ``The lyf so short, the craft so long to lerne.'' - Chaucer
>                  ``Ars longa, vita brevis'' - Hippocrates
> Chet Ramey, UTech, CWRU

reply via email to

[Prev in Thread] Current Thread [Next in Thread]