Live data from Hacker News

Fish shell 2.1

fishshell.com

101–110 of 154 posts

Re: Fish shell 2.1

#101
post #94

I installed 2.1 via homebrew and now, every time I open a new terminal window, I get: bind: Key with name 'dc' does not have any mapping bind: Key with name 'ppage' does not have any mapping bind: Key with name 'npage' does not have any mapping Does anybody have any idea what causes this / how to fix it?

What's the output of 'bind' and 'bind --key-names' on your system ?

Re: Fish shell 2.1

#102
post #94

I installed 2.1 via homebrew and now, every time I open a new terminal window, I get: bind: Key with name 'dc' does not have any mapping bind: Key with name 'ppage' does not have any mapping bind: Key with name 'npage' does not have any mapping Does anybody have any idea what causes this / how to fix it?

What's the output of 'bind' and 'bind --key-names' on your system ?

Uploaded the output here: http://pastebin.com/v6ZKrLcp Thanks!

Re: Fish shell 2.1

#103
post #22

With love: I always felt like fish and even zsh are kind of beautiful OCD-induced bouts of counter productivity in the same vain as Dvorak keyboard layouts and Plan 9. We can't handle things being messy and imperfect so we solve it by building our own parallel universes. What do you do when you have to use a computer without your customization? Perfect is the enemy of good, worse is better, join us on the dark side,…

The argument that "fish is not customizable" is not true. Fish is customizable, but at the same time it hides unnecessary complexity from the user. For e.g. You can customize colors in fish, but you can't customize size of the history file (How many people do it ?). fish comes with sane defaults and most of the times you won't need to change any configurations unless you have very specific requirements.

Being able to set a very high limit for my history file and to share history between instances is a major usability feature in zsh for me. Not being able to do that is honestly reason enough to rule out an alternative shell.

Re: Fish shell 2.1

#104
post #102

Earlier quoted context omitted.

What's the output of 'bind' and 'bind --key-names' on your system ?

Uploaded the output here: http://pastebin.com/v6ZKrLcp Thanks!

So it looks like the keys to which fish is trying to bind the mappings are not available on your system. I have opened an issue for you at https://github.com/fish-shell/fish-shell/issues/1068 , we will be following up on that. I would appreciate more inputs about your setup. For e.g. version of OS X, your terminal, keyboard type etc.

Re: Fish shell 2.1

#105
post #37

I tried fish for a while but found it jarring switching between it and bash when working on remote machines where fish is not installed. I was also surprised when I first started using fish that it can't synchronize history between shell instances, which is a killer feature for me. So after about a month with fish I've switched to zsh. https://github.com/fish-shell/fish-shell/issues/825 http://ptspts.blogspot.com/201…

That's not a bad idea, but the environments I work on have radically different layouts, and the most commonly used commands on either station are different. The filepaths don't even share a commonality, so what good is the shell history to me? Short of remember SSH destinations.

Sorry I wasn't clear. I meant sharing history between multiple shells open on the same machine. I often have two or three terminal windows open with several tabs each. I use them somewhat haphazardly and would like the history between them to be shared.

Re: Fish shell 2.1

#106
post #102

Earlier quoted context omitted.

Uploaded the output here: http://pastebin.com/v6ZKrLcp Thanks!

So it looks like the keys to which fish is trying to bind the mappings are not available on your system. I have opened an issue for you at https://github.com/fish-shell/fish-shell/issues/1068 , we will be following up on that. I would appreciate more inputs about your setup. For e.g. version of OS X, your terminal, keyboard type etc.

Sure. I'm basically on a fresh install of Mavericks (13A603), using Terminal.app (unmodified from defaults apart from downloading the Solarized theme), standard British Mac keyboard (rMBP).

Re: Fish shell 2.1

#108
post #68

Earlier quoted context omitted.

I'm kind of posting too much so I'll stop, I really tried to phrase my questions in a friendly manner but it seems they invite misreadings. Apologies. One final clarification: I agree with this attitude if indeed this was the case. I don't see how zsh or fish constitute cordless drills and screwdrivers, it feels more like they are the right-y version to the left-y version of the regular screwdriver. But maybe its bec…

Keep in mind also that no matter how civilly you phrase things, your still talking about the "religion of tools" which may draw strong responses to otherwise nice questions.

Generally speaking, no matter how civilly you phrase things, if you question something people feel strongly about, you will draw strong responses. If you must ask said questions, get used to the idea that people will get at least a bit emotional.

Re: Fish shell 2.1

#109
post #22

With love: I always felt like fish and even zsh are kind of beautiful OCD-induced bouts of counter productivity in the same vain as Dvorak keyboard layouts and Plan 9. We can't handle things being messy and imperfect so we solve it by building our own parallel universes. What do you do when you have to use a computer without your customization? Perfect is the enemy of good, worse is better, join us on the dark side,…

Not too be too PC, but OCD != anal. If someone is really OCD about being tidy it's because they think if they're not something horrible will happen.

Re: Fish shell 2.1

#110
post #22

With love: I always felt like fish and even zsh are kind of beautiful OCD-induced bouts of counter productivity in the same vain as Dvorak keyboard layouts and Plan 9. We can't handle things being messy and imperfect so we solve it by building our own parallel universes. What do you do when you have to use a computer without your customization? Perfect is the enemy of good, worse is better, join us on the dark side,…

Are we going to use sh and its descendants for the next 100 years? The original shells evolved out of macro processors, and as time went on, more and more programming language features were bolted on, but it's an uneasy fit. Take it for a test: go write a project euler problem (or any small programming task--doesn't have to be math) in your shell of choice. It's painful. There are weird features of shell languages th…

Careful with the "in your shell of choice". Someone, perhaps me, will inevitably point out PowerShell, the shell without a proper Terminal app, but with native support for .NET-based programming languages and libraries, including useful well, let's call them "macros" because I've forgotten the official term. http://programming.oreilly.com/2013/06/powershell-command-li... It's really quite powerful, but it's a shame the Terminal tools haven't kept pace on Windows. (And yes, I know of cmdemu, chocolate, but it's not the same as built-in.)
Post reply on HN