Re: [Fish-users] 5 minutes fish from 15 years bash impression
Diego Zamboni di...@zzamboni.org writes: Aleksey: fish is indeed not bash, but in a good way. There are many things that could be improved, for sure, but it’s great even now. I was never really bash user, but was trying zsh and the the main seeling point for fish is that is *usable* out-of-the-box, while other shells require quite some tweaking to make it resemble something like fish. Sincerely, Gour -- As a strong wind sweeps away a boat on the water, even one of the roaming senses on which the mind focuses can carry away a man's intelligence. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] 5 minutes fish from 15 years bash impression
Take a look at https://github.com/fish-shell/fish-shell/wiki/Bash-Refugees for a fish implementation of !! and !$ . On Fri, 8 May 2015 08:08 Gour g...@atmarama.net wrote: Diego Zamboni di...@zzamboni.org writes: Aleksey: fish is indeed not bash, but in a good way. There are many things that could be improved, for sure, but it’s great even now. I was never really bash user, but was trying zsh and the the main seeling point for fish is that is *usable* out-of-the-box, while other shells require quite some tweaking to make it resemble something like fish. Sincerely, Gour -- As a strong wind sweeps away a boat on the water, even one of the roaming senses on which the mind focuses can carry away a man's intelligence. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] 5 minutes fish from 15 years bash impression
I was actually looking for the named one, `!c` executes the last command that begins with the letter c. I'll take a look at those functions though perhaps they have them implemented. On Fri, May 8, 2015 at 7:30 AM, Glenn Jackman jack...@pythian.com wrote: It took me a while to get over the lack of history expansions. But it's actually easier to hit Up arrow (!!) or Alt-Up (!$) -- Glenn Jackman | Software Developer Pythian Tel: +1 613 565 8696 Ext. 1478 Cell: +1 613 808 4984 Email: jack...@pythian.com -Original Message- From: Sanne Wouda sanne.wo...@gmail.com Date: Fri, 08 May 2015 10:26:01 To: Gourg...@atmarama.net; fish-users Mailing List fish-users@lists.sourceforge.net Subject: Re: [Fish-users] 5 minutes fish from 15 years bash impression -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- Thanks! Charlie 512-698-2009 -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] 5 minutes fish from 15 years bash impression
Thanks for this pointer! I’d been thinking of figuring out how to do it, and there it was. The only problem I had was that I had to edit and save bind_bang and bind_dollar separately, it didn’t work when I tried to edit them together with fish_user_key_bindings. But once I figured that out, it worked like a charm. —Diego On May 8, 2015, at 5:26 AM, Sanne Wouda sanne.wo...@gmail.com wrote: Take a look at https://github.com/fish-shell/fish-shell/wiki/Bash-Refugees https://github.com/fish-shell/fish-shell/wiki/Bash-Refugees for a fish implementation of !! and !$ . On Fri, 8 May 2015 08:08 Gour g...@atmarama.net mailto:g...@atmarama.net wrote: Diego Zamboni di...@zzamboni.org mailto:di...@zzamboni.org writes: Aleksey: fish is indeed not bash, but in a good way. There are many things that could be improved, for sure, but it’s great even now. I was never really bash user, but was trying zsh and the the main seeling point for fish is that is *usable* out-of-the-box, while other shells require quite some tweaking to make it resemble something like fish. Sincerely, Gour -- As a strong wind sweeps away a boat on the water, even one of the roaming senses on which the mind focuses can carry away a man's intelligence. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Fish-users mailing list Fish-users@lists.sourceforge.net mailto:Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users https://lists.sourceforge.net/lists/listinfo/fish-users -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] 5 minutes fish from 15 years bash impression
It took me a while to get over the lack of history expansions. But it's actually easier to hit Up arrow (!!) or Alt-Up (!$) -- Glenn Jackman | Software Developer Pythian Tel: +1 613 565 8696 Ext. 1478 Cell: +1 613 808 4984 Email: jack...@pythian.com -Original Message- From: Sanne Wouda sanne.wo...@gmail.com Date: Fri, 08 May 2015 10:26:01 To: Gourg...@atmarama.net; fish-users Mailing Listfish-users@lists.sourceforge.net Subject: Re: [Fish-users] 5 minutes fish from 15 years bash impression -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] 5 minutes fish from 15 years bash impression
On May 8, 2015, at 5:43 PM, Greg Reagle greg.rea...@umbc.edu wrote: I think it's worth noting here that in fish, if you just type 'c' on an empty command line, it will automatically show you the last command that started with 'c'. More precisely, it brings back the last command that *contains* a 'c'. Huge difference. Not for me. For me, it does as Andrew Kreps noted--shows me the last command that *started* with whatever I typed. I am using fish, version 2.1.1. Same for me. To search any part of past commands, I have to type the text I’m looking for (which automatically suggests past lines that started with that, if any) and then type the up arrow, which starts cycling through past commands that contain that text anywhere. —Diego -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] 5 minutes fish from 15 years bash impression
Aleksey, I honestly can't decide if you're trying to troll the mailing list or if you have legitimate questions. I'm going to take a risk of feeding the troll here in hopes that you're actually, honestly trying to understand fish-shell. To save yourself some time, I'll put the summation at the top. Continue reading if you wish. To sum up: Fish shell is not bash. It tries to do things better. Sometimes that means different. It takes some getting used to. And now a little more: Several of the features you've suggested could be helpful, but I think it is important to remember that fish-shell is not, nor does it try (or even want) to be bash or even bash compliant. The interaction is *necessarily* different. In my experience, bash is different, but equally frustrating when looking for help on builtins: When I run `man for`, I get a man page or BUILTIN(1)...which lists all the builtin commands, does absolutely nothing to explain the behavior of the 'for' command, and (perhaps more importantly) doesn't suggest any further recourse for understanding what I am curious about. Now, perhaps I'm missing some subtlety about bash -- I used it recklessly for about 8 years without ever learning much about it. But the principle of discoverability is completely missing from that experience. `env NAME=value command` is a perfectly acceptable system. It is *different*. But it is different for good reasons. It is more obvious to the user, less ambiguous to the interpreter, and obeys the principals of consistency, composition, and modularity (env is a command, which sets an environment variable, and then runs a given argument in the altered environment). These rules and others are available on the wikipedia page for the Unix Philosophy[1]. As for fetching help on every command when you make an error, that is actually the principal of discoverability at work. It is the default paradigm for any well designed shell tool, why should the shell itself be different? If you find yourself wanting examples, have a look at ssh, cp, and scp. I'll admit, when I first started using fish-shell, I was frustrated by the fact that help opened the browser by default. But my workflow is frequently switching back and forth between the shell and chrome (read: stackoverflow). Why not provide a richer help experience, where related commands can be easily found, rich on page searching is still available (and probably better)? I honestly do think that fish could use a better help experience, but I also don't think your method of requesting it is helpful at all. Robert [1] http://en.wikipedia.org/wiki/Unix_philosophy On May 5, 2015, at 10:03, Aleksey Midenkov mide...@gmail.com wrote: On Tue, May 5, 2015 at 3:01 PM, Siteshwar sitesh...@gmail.com wrote: Hello Aleksey, Thanks for trying fish. On Tue, May 5, 2015 at 4:31 PM, Aleksey Midenkov midenok+f...@gmail.com wrote: help for It opened browser window... I don't need browser, I need quick and easy way to access basic syntax what does inline help in bash. It's console app after all! man for Not really good: the default PAGER is 'less' which doesn't fully comply with 'quick and easy'. Well, if to trim NAME section and quick description ('for - perform a set of commands multiple times.') and output with 'cat' it will be almost like 'help' in bash, but: PAGER=cat man for fish: Unknown command 'PAGER=cat'. Did you mean to run man with a modified environment? Try 'env PAGER=cat man…'. See the help section on the set command by typing 'help set'. I recall, that I've read something about fish doesn't like subshells. Well, it's good to set variables inside pipes: I like that! But, here I want quick and easy way to use temporary settings. Ok, let's try what error said: env PAGER=cat man for No manual entry for for OMG, what was that?? It set PAGER and forgot all other variables? I guess, it executed '/usr/bin/env' which is not related to any shell and behaves how it wants, thus not a good method. I just want a subshell here with a quick and concise: PAGER=cat man for And it is kind of cumbersome to add 'env' here (even if it worked)... It's rather simple. Just type 'for' and press enter to see help text . Seriously? Making errors just to get inline help is not the right way to do it. It will not work for all commands (f.ex. 'set' and 'echo'). Moreover, I don't need inline help every time I make real mistake, obviously... I see, that command built-ins have '--help' option. This is not unified way: 1. no '--help' for syntactic statements like 'for', 'if'. 2. With '--help' there is no clarity that this is sure built-in When I type 'help COMMAND' I am sure that this is help about built-in. When I type 'COMMAND --help' I'm not sure if this is built-in or not (maybe there is no such built-in and this is help about executable util). Btw, if someone is interested, I decided to look at 'fish'
Re: [Fish-users] 5 minutes fish from 15 years bash impression
Not really good: the default PAGER is 'less' which doesn't fully comply with 'quick and easy'. In every shell I know, the environment variable PAGER is responsible for the pager. There's nothing special with fish. And it's just one line to change it:set -x PAGER xcowsay -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] 5 minutes fish from 15 years bash impression
I also miss ! and friends, let me know if you end up implementing these! On Thu, May 7, 2015 at 4:06 PM, Diego Zamboni di...@zzamboni.org wrote: Robert, I couldn’t agree more. There are a few things I found frustrating in fish at first (some I still do, like the inability to recall previous commands/arguments with !! and !$ - I have to look more into coding those with functions), but over time I’ve found the interactive shell experience SO MUCH BETTER. For example, when I have to use bash on other machines, I miss the automatic history completion and Ctl-F to complete commands. I *love* the completion system and how everything can be defined as a function so it’s trivial to redefine default behaviors if you want. Aleksey: fish is indeed not bash, but in a good way. There are many things that could be improved, for sure, but it’s great even now. The community and developers are friendly and helpful, and if you stick around, you’ll see that good-natured feedback is always received well and addressed promptly. —Diego On May 7, 2015, at 12:28 PM, Robert Carpenter rob...@robacarp.com wrote: Aleksey, I honestly can't decide if you're trying to troll the mailing list or if you have legitimate questions. I'm going to take a risk of feeding the troll here in hopes that you're actually, honestly trying to understand fish-shell. To save yourself some time, I'll put the summation at the top. Continue reading if you wish. To sum up: Fish shell is not bash. It tries to do things better. Sometimes that means different. It takes some getting used to. And now a little more: Several of the features you've suggested could be helpful, but I think it is important to remember that fish-shell is not, nor does it try (or even want) to be bash or even bash compliant. The interaction is *necessarily* different. In my experience, bash is different, but equally frustrating when looking for help on builtins: When I run `man for`, I get a man page or BUILTIN(1)...which lists all the builtin commands, does absolutely nothing to explain the behavior of the 'for' command, and (perhaps more importantly) doesn't suggest any further recourse for understanding what I am curious about. Now, perhaps I'm missing some subtlety about bash -- I used it recklessly for about 8 years without ever learning much about it. But the principle of discoverability is completely missing from that experience. `env NAME=value command` is a perfectly acceptable system. It is *different*. But it is different for good reasons. It is more obvious to the user, less ambiguous to the interpreter, and obeys the principals of consistency, composition, and modularity (env is a command, which sets an environment variable, and then runs a given argument in the altered environment). These rules and others are available on the wikipedia page for the Unix Philosophy[1]. As for fetching help on every command when you make an error, that is actually the principal of discoverability at work. It is the default paradigm for any well designed shell tool, why should the shell itself be different? If you find yourself wanting examples, have a look at ssh, cp, and scp. I'll admit, when I first started using fish-shell, I was frustrated by the fact that help opened the browser by default. But my workflow is frequently switching back and forth between the shell and chrome (read: stackoverflow). Why not provide a richer help experience, where related commands can be easily found, rich on page searching is still available (and probably better)? I honestly do think that fish could use a better help experience, but I also don't think your method of requesting it is helpful at all. Robert [1] http://en.wikipedia.org/wiki/Unix_philosophy On May 5, 2015, at 10:03, Aleksey Midenkov mide...@gmail.com wrote: On Tue, May 5, 2015 at 3:01 PM, Siteshwar sitesh...@gmail.com wrote: Hello Aleksey, Thanks for trying fish. On Tue, May 5, 2015 at 4:31 PM, Aleksey Midenkov midenok+f...@gmail.com wrote: help for It opened browser window... I don't need browser, I need quick and easy way to access basic syntax what does inline help in bash. It's console app after all! man for Not really good: the default PAGER is 'less' which doesn't fully comply with 'quick and easy'. Well, if to trim NAME section and quick description ('for - perform a set of commands multiple times.') and output with 'cat' it will be almost like 'help' in bash, but: PAGER=cat man for fish: Unknown command 'PAGER=cat'. Did you mean to run man with a modified environment? Try 'env PAGER=cat man…'. See the help section on the set command by typing 'help set'. I recall, that I've read something about fish doesn't like subshells. Well, it's good to set variables inside pipes: I like that! But, here I want quick and easy way to use temporary settings. Ok, let's try
Re: [Fish-users] 5 minutes fish from 15 years bash impression
Robert, I couldn’t agree more. There are a few things I found frustrating in fish at first (some I still do, like the inability to recall previous commands/arguments with !! and !$ - I have to look more into coding those with functions), but over time I’ve found the interactive shell experience SO MUCH BETTER. For example, when I have to use bash on other machines, I miss the automatic history completion and Ctl-F to complete commands. I *love* the completion system and how everything can be defined as a function so it’s trivial to redefine default behaviors if you want. Aleksey: fish is indeed not bash, but in a good way. There are many things that could be improved, for sure, but it’s great even now. The community and developers are friendly and helpful, and if you stick around, you’ll see that good-natured feedback is always received well and addressed promptly. —Diego On May 7, 2015, at 12:28 PM, Robert Carpenter rob...@robacarp.com wrote: Aleksey, I honestly can't decide if you're trying to troll the mailing list or if you have legitimate questions. I'm going to take a risk of feeding the troll here in hopes that you're actually, honestly trying to understand fish-shell. To save yourself some time, I'll put the summation at the top. Continue reading if you wish. To sum up: Fish shell is not bash. It tries to do things better. Sometimes that means different. It takes some getting used to. And now a little more: Several of the features you've suggested could be helpful, but I think it is important to remember that fish-shell is not, nor does it try (or even want) to be bash or even bash compliant. The interaction is *necessarily* different. In my experience, bash is different, but equally frustrating when looking for help on builtins: When I run `man for`, I get a man page or BUILTIN(1)...which lists all the builtin commands, does absolutely nothing to explain the behavior of the 'for' command, and (perhaps more importantly) doesn't suggest any further recourse for understanding what I am curious about. Now, perhaps I'm missing some subtlety about bash -- I used it recklessly for about 8 years without ever learning much about it. But the principle of discoverability is completely missing from that experience. `env NAME=value command` is a perfectly acceptable system. It is *different*. But it is different for good reasons. It is more obvious to the user, less ambiguous to the interpreter, and obeys the principals of consistency, composition, and modularity (env is a command, which sets an environment variable, and then runs a given argument in the altered environment). These rules and others are available on the wikipedia page for the Unix Philosophy[1]. As for fetching help on every command when you make an error, that is actually the principal of discoverability at work. It is the default paradigm for any well designed shell tool, why should the shell itself be different? If you find yourself wanting examples, have a look at ssh, cp, and scp. I'll admit, when I first started using fish-shell, I was frustrated by the fact that help opened the browser by default. But my workflow is frequently switching back and forth between the shell and chrome (read: stackoverflow). Why not provide a richer help experience, where related commands can be easily found, rich on page searching is still available (and probably better)? I honestly do think that fish could use a better help experience, but I also don't think your method of requesting it is helpful at all. Robert [1] http://en.wikipedia.org/wiki/Unix_philosophy On May 5, 2015, at 10:03, Aleksey Midenkov mide...@gmail.com wrote: On Tue, May 5, 2015 at 3:01 PM, Siteshwar sitesh...@gmail.com wrote: Hello Aleksey, Thanks for trying fish. On Tue, May 5, 2015 at 4:31 PM, Aleksey Midenkov midenok+f...@gmail.com wrote: help for It opened browser window... I don't need browser, I need quick and easy way to access basic syntax what does inline help in bash. It's console app after all! man for Not really good: the default PAGER is 'less' which doesn't fully comply with 'quick and easy'. Well, if to trim NAME section and quick description ('for - perform a set of commands multiple times.') and output with 'cat' it will be almost like 'help' in bash, but: PAGER=cat man for fish: Unknown command 'PAGER=cat'. Did you mean to run man with a modified environment? Try 'env PAGER=cat man…'. See the help section on the set command by typing 'help set'. I recall, that I've read something about fish doesn't like subshells. Well, it's good to set variables inside pipes: I like that! But, here I want quick and easy way to use temporary settings. Ok, let's try what error said: env PAGER=cat man for No manual entry for for OMG, what was that?? It set PAGER and forgot all other variables? I guess, it executed
Re: [Fish-users] 5 minutes fish from 15 years bash impression
On Tue, May 5, 2015 at 3:01 PM, Siteshwar sitesh...@gmail.com wrote: Hello Aleksey, Thanks for trying fish. On Tue, May 5, 2015 at 4:31 PM, Aleksey Midenkov midenok+f...@gmail.com wrote: help for It opened browser window... I don't need browser, I need quick and easy way to access basic syntax what does inline help in bash. It's console app after all! man for Not really good: the default PAGER is 'less' which doesn't fully comply with 'quick and easy'. Well, if to trim NAME section and quick description ('for - perform a set of commands multiple times.') and output with 'cat' it will be almost like 'help' in bash, but: PAGER=cat man for fish: Unknown command 'PAGER=cat'. Did you mean to run man with a modified environment? Try 'env PAGER=cat man…'. See the help section on the set command by typing 'help set'. I recall, that I've read something about fish doesn't like subshells. Well, it's good to set variables inside pipes: I like that! But, here I want quick and easy way to use temporary settings. Ok, let's try what error said: env PAGER=cat man for No manual entry for for OMG, what was that?? It set PAGER and forgot all other variables? I guess, it executed '/usr/bin/env' which is not related to any shell and behaves how it wants, thus not a good method. I just want a subshell here with a quick and concise: PAGER=cat man for And it is kind of cumbersome to add 'env' here (even if it worked)... It's rather simple. Just type 'for' and press enter to see help text . Seriously? Making errors just to get inline help is not the right way to do it. It will not work for all commands (f.ex. 'set' and 'echo'). Moreover, I don't need inline help every time I make real mistake, obviously... I see, that command built-ins have '--help' option. This is not unified way: 1. no '--help' for syntactic statements like 'for', 'if'. 2. With '--help' there is no clarity that this is sure built-in When I type 'help COMMAND' I am sure that this is help about built-in. When I type 'COMMAND --help' I'm not sure if this is built-in or not (maybe there is no such built-in and this is help about executable util). Btw, if someone is interested, I decided to look at 'fish' because of course 'bash' scripting is horrible! And the fact that 'fish' supports var-change hooks was a signal to start examining it. But such basic and simple failures give wa-ay too much no-go. The interactivity of 'fish' is not really good. Well, by interactivity I don't mean all these traffic-light colors and popping stuff (which frankly don't add good impression) but simply 'what you type and what you get'... Let us know if you have any suggestions to improve fish. I already did. As was said, it would be good to have 'VAR=x COMMAND' syntax to define temporary variables just for one command. Secondly, it would be good to have 'help COMMAND' to get inline help on topic, not in browser, not in man page, just on STDOUT. And thirdly, no need (and in fact is nagging) to get inline help on every error. If isn't yet, there should be an option to turn it off. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- Regards, Siteshwar -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] 5 minutes fish from 15 years bash impression
On 05/06/2015 01:40 PM, Luciano ES wrote: Choosing 'less' as default pager is among the worst of our sins. There, I made a slogan for fish. And it took me less than five minutes. If choosing 'less' as the default pager is wrong, then I don't want to be right. : -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] 5 minutes fish from 15 years bash impression
Choosing 'less' as default pager is among the worst of our sins. There, I made a slogan for fish. And it took me less than five minutes. -- Luciano ES ** On Tue, 5 May 2015 14:01:53 +0300, Aleksey Midenkov wrote: help for It opened browser window... I don't need browser, I need quick and easy way to access basic syntax what does inline help in bash. It's console app after all! man for Not really good: the default PAGER is 'less' which doesn't fully comply with 'quick and easy'. Well, if to trim NAME section and quick description ('for - perform a set of commands multiple times.') and output with 'cat' it will be almost like 'help' in bash, but: PAGER=cat man for fish: Unknown command 'PAGER=cat'. Did you mean to run man with a modified environment? Try 'env PAGER=cat man…'. See the help section on the set command by typing 'help set'. I recall, that I've read something about fish doesn't like subshells. Well, it's good to set variables inside pipes: I like that! But, here I want quick and easy way to use temporary settings. Ok, let's try what error said: env PAGER=cat man for No manual entry for for OMG, what was that?? It set PAGER and forgot all other variables? I guess, it executed '/usr/bin/env' which is not related to any shell and behaves how it wants, thus not a good method. I just want a subshell here with a quick and concise: PAGER=cat man for And it is kind of cumbersome to add 'env' here (even if it worked)... Btw, if someone is interested, I decided to look at 'fish' because of course 'bash' scripting is horrible! And the fact that 'fish' supports var-change hooks was a signal to start examining it. But such basic and simple failures give wa-ay too much no-go. The interactivity of 'fish' is not really good. Well, by interactivity I don't mean all these traffic-light colors and popping stuff (which frankly don't add good impression) but simply 'what you type and what you get'... -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users
Re: [Fish-users] 5 minutes fish from 15 years bash impression
Hello Aleksey, Thanks for trying fish. On Tue, May 5, 2015 at 4:31 PM, Aleksey Midenkov midenok+f...@gmail.com wrote: help for It opened browser window... I don't need browser, I need quick and easy way to access basic syntax what does inline help in bash. It's console app after all! man for Not really good: the default PAGER is 'less' which doesn't fully comply with 'quick and easy'. Well, if to trim NAME section and quick description ('for - perform a set of commands multiple times.') and output with 'cat' it will be almost like 'help' in bash, but: PAGER=cat man for fish: Unknown command 'PAGER=cat'. Did you mean to run man with a modified environment? Try 'env PAGER=cat man...'. See the help section on the set command by typing 'help set'. I recall, that I've read something about fish doesn't like subshells. Well, it's good to set variables inside pipes: I like that! But, here I want quick and easy way to use temporary settings. Ok, let's try what error said: env PAGER=cat man for No manual entry for for OMG, what was that?? It set PAGER and forgot all other variables? I guess, it executed '/usr/bin/env' which is not related to any shell and behaves how it wants, thus not a good method. I just want a subshell here with a quick and concise: PAGER=cat man for And it is kind of cumbersome to add 'env' here (even if it worked)... It's rather simple. Just type 'for' and press enter to see help text . Btw, if someone is interested, I decided to look at 'fish' because of course 'bash' scripting is horrible! And the fact that 'fish' supports var-change hooks was a signal to start examining it. But such basic and simple failures give wa-ay too much no-go. The interactivity of 'fish' is not really good. Well, by interactivity I don't mean all these traffic-light colors and popping stuff (which frankly don't add good impression) but simply 'what you type and what you get'... Let us know if you have any suggestions to improve fish. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users -- Regards, Siteshwar -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users