News for hackers. Stuff that matters.
Re:New Features in the Fish Shell by lgunsch on Tuesday September 29, 2020 @03:19PM (#24631812)
I find it has two advantages. One, being quite a sophisticated auto-complete system. I haven't seen anything nearly as polished. The other advantage is it's easy to learn and configure. You can read the short manual and you'll know about every feature and keyboard shortcut that exists.
Re:New Features in the Fish Shell by totetsu on Tuesday September 29, 2020 @07:16PM (#24634176)
Fish autocomplete seemed like magic when I first started using it. I does things like autocomplete file paths on the android side of adb sync commands, autocomplete on docker container hashes..
Re:New Features in the Fish Shell by adiM on Tuesday September 29, 2020 @11:50PM (#24635538)
I am a longtime zsh user and tried fish earnestly for a month or so, but gave up because I could not figure out how to ignore certain patterns while auto-completing filenames. For example, I typically edit tex files and I don't want any of the temp files to be suggested as autocomplete suggestions. In zsh, I can write

zstyle ':completion:::(vim|nvim)::files' ignored-patterns '*.(aux|dvi|log|thm|idx|pdf|rel|out|tuo|tui|tuc|tmp|mpo|mpb|mpd|1|keep|pgf|fls|gz|fdb_latexmk)'

(yes, tex generates so many temp files!) I couldn't figure out how to do something similar in fish