help-bash
[Top][All Lists]
Advanced

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

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


From: Alex fxmbsw7 Ratchev
Subject: Re: kitty error w bash -bash: declare: -A: invalid option
Date: Wed, 23 Feb 2022 21:20:35 +0100

it seems me your kitty uses static /bin path

On Wed, Feb 23, 2022, 20:57 <write2mark1@gmail.com> wrote:

> 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 <chet.ramey@case.edu> wrote:
>
> > On 2/22/22 5:16 PM, write2mark1@gmail.com 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    chet@case.edu
> http://tiswww.cwru.edu/~chet/
> >
>


reply via email to

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