!YLTeaulxSDauOOxBoR:matrix.org

#fish-shell

221 Members
fish is a smart and user-friendly command line shell for Linux, macOS, and the rest of the family https://fishshell.com/34 Servers

Load older messages


SenderMessageTime
28 Sep 2020
@gitter_vyachkonovalov:matrix.orgVyacheslav Konovalov (Gitter) @faho ok, can I run fish -i within hashbang in a script? I tried #!/usr/bin/fish -i, but it doesn't work 12:48:02
@gitter_faho:matrix.orgFabian Homborg (Gitter) @vyachkonovalov Of course it can (tho note that linux shebangs can only take one argument) 13:11:15
@gitter_faho:matrix.orgFabian Homborg (Gitter) If that doesn't work then fish probably doesn't believe it has a terminal attached - which may very well be true in that context 13:12:17
@gitter_vyachkonovalov:matrix.orgVyacheslav Konovalov (Gitter) @faho thanks you 13:37:56
@gitter_vyachkonovalov:matrix.orgVyacheslav Konovalov (Gitter) (edited) @faho thanks you => @faho thank you 13:37:59
@gitter_faho:matrix.orgFabian Homborg (Gitter) @vyachkonovalov Okay, it doesn't have a terminal attached, but our read won't pass through the redirect. See #7358 . 15:51:32
@gitter_krobelus:matrix.orgJohannes Altmanninger (Gitter) The history race conditions test seems flaky, see https://github.com/fish-shell/fish-shell/runs/1177783355 17:04:46
@gitter_faho:matrix.orgFabian Homborg (Gitter)It is, yeah.17:26:55
29 Sep 2020
@wild_wolf:matrix.orgwild_wolf joined the room.08:28:54
@gitter_ckipp01:matrix.orgChris Kipp (Gitter) changed their display name from Chris (Gitter) to Chris Kipp (Gitter).19:23:35
@gitter_faho:matrix.orgFabian Homborg (Gitter) Oooh, if anyone's got an LWN subscription, apparently they have an article on fish? https://lwn.net/Articles/832429 19:53:25
@gitter_ridiculousfish:matrix.orgridiculousfish (Gitter) We're on HN again 20:06:45
@gitter_ridiculousfish:matrix.orgridiculousfish (Gitter)The HN link seems to be readable without description20:07:10
@gitter_faho:matrix.orgFabian Homborg (Gitter) It's a subscriber link, yeah 20:26:07
30 Sep 2020
@gitter_zanchey:matrix.orgDavid Adam (Gitter) the LWN comments are a bit of QED aren't they 01:03:16
@gitter_faho:matrix.orgFabian Homborg (Gitter) Well, looks like that matrix integration might become less annoying : https://matrix.org/blog/2020/09/30/welcoming-gitter-to-matrix 14:20:05
@goodnight_noom:matrix.orggoodnight_noom joined the room.14:56:31
@goodnight_noom:matrix.orggoodnight_noomHey guys14:56:48
@goodnight_noom:matrix.orggoodnight_noomIs there a way to make tab completion automatically select the first item? I currently have to press tab a first time to show the completions and a second time to actually start auto-completing and it is a bit annoying14:58:00
@goodnight_noom:matrix.orggoodnight_noomAlso, is there a way to automatically show all completion rows without being prompted for it?15:01:19
@gitter_faho:matrix.orgFabian Homborg (Gitter) @goodnight_noom: "complete-and-search" will do that, bind to shift-tab by default. bind \t complete-and-search. Also the next release will require fewer tab presses. 15:23:23
@gitter_vyachkonovalov:matrix.orgVyacheslav Konovalov (Gitter)Hi. What is your opinion about dynamic abbreviations in fish? Maybe such a feature has ever been requested16:41:13
@gitter_faho:matrix.orgFabian Homborg (Gitter) @vyachkonovalov What do you mean? 16:51:09
@gitter_vyachkonovalov:matrix.orgVyacheslav Konovalov (Gitter) @faho, it's like abbr, but calls a function to get expansion 17:26:10
@gitter_faho:matrix.orgFabian Homborg (Gitter) Ah, okay. Closest thing is #2287 , I think? 17:28:29
@gitter_vyachkonovalov:matrix.orgVyacheslav Konovalov (Gitter) Yes, but my use case is different. I have branches in git repo like TAP-8132-billing-via-http, where TAP-8132 is id from jira. What I want is to write gc which expends to git commit -m '[TAP-8132 17:36:40
@gitter_vyachkonovalov:matrix.orgVyacheslav Konovalov (Gitter)so, expansion comes from a function which parses current branch and so on17:37:20
@gitter_vyachkonovalov:matrix.orgVyacheslav Konovalov (Gitter)but maybe this use case is rare, now I use a function for that, just asking :)17:38:34
@gitter_vyachkonovalov:matrix.orgVyacheslav Konovalov (Gitter) (edited) but maybe this use case is rare, now I use a function for that, just asking :) => Yes, but my use case is different. I have branches in git repo like TAP-8132-billing-via-http, where TAP-8132 is task id from jira. What I want is to write `gc ` which expends to `git commit -m '[TAP-8132 ` 17:41:37
@gitter_faho:matrix.orgFabian Homborg (Gitter)Yeah, a function is the typical solution for that.17:48:30

There are no newer messages yet.


Back to Room List