14 ms·
i just get this on loop when i start my shell now `-bash: [-1]: bad array subscript` but cool idea!
by summitsummit 6y ago
i just get this on loop when i start my shell now
`-bash: [-1]: bad array subscript`
but cool idea!
- glumia 6y agoThanks! Yeah sorry, I used an instruction (last array element access with the a [-1] syntax) that was added on bash version >= 4.1 and macOS uses by default 3.2. What you described is exactly what happened when you tried to execute the `search_alias` function on the macOS terminal. Anyway, I just fixed it, check latest release :)