[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/
> >
>
- bash IDE or text editor?, Patrick Schleizer, 2022/02/21
- Re: bash IDE or text editor?, Alex fxmbsw7 Ratchev, 2022/02/21
- Re: kitty error w bash -bash: declare: -A: invalid option, Chet Ramey, 2022/02/23
- Re: kitty error w bash -bash: declare: -A: invalid option, write2mark1, 2022/02/23
- Re: kitty error w bash -bash: declare: -A: invalid option,
Alex fxmbsw7 Ratchev <=
- Re: kitty error w bash -bash: declare: -A: invalid option, write2mark1, 2022/02/23
- Re: kitty error w bash -bash: declare: -A: invalid option, write2mark1, 2022/02/23
- Re: kitty error w bash -bash: declare: -A: invalid option, Alex fxmbsw7 Ratchev, 2022/02/24
- Re: kitty error w bash -bash: declare: -A: invalid option, Dennis Williamson, 2022/02/23
- Re: kitty error w bash -bash: declare: -A: invalid option, write2mark1, 2022/02/23
- Re: kitty error w bash -bash: declare: -A: invalid option, Koichi Murase, 2022/02/24
- Re: kitty error w bash -bash: declare: -A: invalid option, Jeffrey Walton, 2022/02/23
- Re: kitty error w bash -bash: declare: -A: invalid option, Dennis Williamson, 2022/02/23
Re: Re: bash IDE or text editor?, Thomas Paulsen, 2022/02/21
Re: Re: bash IDE or text editor?, Thomas Paulsen, 2022/02/21