4 ms·
Fish 3.6.0
- cassepipe 4y agoWow it looks like like the vim mode has improved a lot since last time I used it. It's a joy to use. It was the only reason I was still using zsh.
- dreamoffire 4y agoThe improvements to the abbreviations is a welcome change, should enable some “macro” like workflows. Excited to try it tonight.
- kannanmr 4y agoPossible to do global history across sessions in fish? I use multiple zsh sessions (as tabs) in iterm2, and love the fact my commands are available across tabs.
- thewisenerd 4y agonot an answer to your question, but an alternative, whenever I feel that historical command context missing (why does "UP" not give me my command I ran 5 tabs away?!), I run `history merge` and be on my way.
- kannanmr 4y agoThanks
- jasonpeacock 4y ago`history merge` can be run manually in Fish to force the current session to pickup the global history, or you can use a small plugin to do it automatically: https://github.com/2m/fish-history-merge https://github.com/2m/fish-history-merge
- kannanmr 4y agoGreat, thanks for the plugin pointer.
- aquova 4y agoWow, I switched to fish a few months ago, and the items explicitly listed here are exactly some of my sticking points from transitioning from bash. In bash I would use both the multicd and !! operations they describe there, along with control-r and removing them from my muscle memory has been some of the only downsides. I'm excited to see that all three of these are possible to set up here as well.
- mattgreenrocks 4y agoFantastic work as always. Thanks to the maintainers for making a shell that is a joy to use without needing to descend to configuration hell.
- buildbot 4y agoI’ve used fish since the pre 2.0 days, and have always been impressed with it, it has literally saved me days of time at this point, in total. The bash cross-comparability features are really nice for simple copy paste commands and control-r will be another great nice to have. It’s the first thing I install on any new system!
- FlyingSnake 4y agoSame here, I'm using fish since the earliest days and I can't live without it. It is one of the essential tools in my toolkit.
- turboponyy 4y agoCould you specify what you mean with bash cross-compatibility? This has been my only gripe after using fish for a long time and why I've been considering switching back to zsh.
- ronjouch 4y agoHeads up to fzf users who used to use fzf's Ctrl+R, and would like to now disable it (to use fish's that has syntax highlighting) without disabling the rest of fzf's shell keybindings: I filed https://github.com/junegunn/fzf/issues/3115 https://github.com/junegunn/fzf/issues/3115 , "How to selectively disable Ctrl+R shell keybinding (while NOT disabling Alt+C & others)" EDIT faho (fish shell maintainer) chimed in the issue and describes how to ask fish to erase the custom binding after fzf keybindings load! I confirm it works :) . Pretty delicious fish. Thanks faho! fzf_key_bindings # load fzf shell keybindings normally bind --erase \cr # restore built-in-fish>=3.6.0 Ctrl+R history
- halz 4y agoIt may be worth checking the fzf plugin you're using with Fish. There is a more recent+maintained effort[0] that brings an even more delightful feature set, particularly with Ctrl+R/_fzf_search_history [0] https://github.com/PatrickF1/fzf.fish/wiki/Prior-Art https://github.com/PatrickF1/fzf.fish/wiki/Prior-Art
- BuckyBeaver 4y agoIs what?
- BuckyBeaver 4y ago[flagged]
- fuzzfactor 4y agoAs can be seen, this is one of those project pages not intended to be useful to those who have not already become familiar with the subject in some other way. Apparently this approach is so widely used in order to limit the number of new people that might become interested. If Fish 3.6.0 were to catch on very widely or god forbid go viral, I can only imagine the maintainer would be as gravely disappointed as could be.
- docandrew 4y agoNot sure if you’re being sarcastic or not, but the actual project page is very useful: https://fishshell.com/ https://fishshell.com/ The OP is the equivalent of a changelog, which isn’t going to be terribly helpful to the uninitiated.
- fuzzfactor 4y agoThanks, this is exactly what is needed to get an idea what Fish is to begin with. It is all too common for github pages to have no reference to more introductory material, and no obvious introductory material of their own.
- BuckyBeaver 4y agoAh yes. The wisdom of the OP’s obscurity becomes clear now.
- andrewshadura 4y agoAnd I'm still waiting for Midnight Commander to be fixed so I can upgrade from Fish 3.2.
- zanchey 4y agoInteresting how much timing affects HN submissions https://news.ycombinator.com/from?site=github.com/fish-shell https://news.ycombinator.com/from?site=github.com/fish-shell
- robin_reala 4y agoSorry!
- zanchey 4y agoIt's fine, I won't be staying up late just for HN points!