Thom Chiovoloni
a770ff144e
Make more of the functions in share/functions print error messages to stderr
2022-04-04 18:26:14 +02:00
Fabian Homborg
5b706faa73
open: Workaround an xdg-open bug
...
If it can't recognize the DE, xdg-open uses a "generic" way of opening
things where it doesn't spawn off a DE-provided utility like kde-open.
This sounds great, but it fails to fork and therefore blocks the
terminal.
So we start it in the background and disown it.
Fixes #7215 .
2020-07-21 16:59:05 +02:00
Fabian Homborg
9367d4ff71
Reindent functions to remove useless quotes
...
This does not include checks/function.fish because that currently
includes a "; end" in a message that indent would remove, breaking the test.
2020-03-09 19:46:43 +01:00
Fabian Homborg
3a835ebd61
Make --help work
...
See #5361 .
2018-11-22 12:43:35 +01:00
Kurtis Rader
51a52a7286
update open
to use argparse
2017-07-13 14:12:51 -07:00
Fabian Homborg
0a8c922d92
Use command -sq instead of redirection
...
This option has been available for a while now and it's a bit shorter.
2017-02-18 22:16:55 +01:00
Kurtis Rader
11a60c8374
reformat all fish scripts
...
I hate doing this but I am tired of touching a fish script as part of
some change and having `make style` radically change it. Which makes
editing fish scripts more painful than it needs to be. It is time to do
a wholesale reformatting of these scripts to conform to the documented
style as implemented by the `fish_indent` program.
2016-11-27 21:27:22 -08:00
Fabian Homborg
56679d4776
Don't use open function if a command exists
...
Turns out this is also the case on Haiku.
It also eliminates a fork.
Closes #3487 .
2016-10-26 15:48:42 +02:00
Nicholas Maccharoli
f6ab0b4d07
Making spacing of .fish files uniform.
2015-08-08 11:22:44 -07:00
David Adam
6add8a7df9
open: drop mimedb dependency
2015-07-23 14:26:38 +08:00
Kevin Ballard
533496e43a
Adopt the new type -q flag in the other functions
2014-07-13 19:11:29 -07:00
Konrad Borowski
4fc2ee1bd4
Implement 'open' for Cygwin.
2013-08-13 17:21:40 +03:00
axel
8a93b6f26d
Make xdg-version of open handle multiple files.
...
darcs-hash:20090216211103-ac50b-f8268e8d50a84457bb49ac3d1e982cba09dbfec6.gz
2009-02-17 07:11:03 +10:00
Isaac Dupree
9b95dda6bf
fix help for open
...
darcs-hash:20080605192305-6c1c4-ccf59a87bf7197b5d07a33d7aaeb31638aa0aa52.gz
2008-06-06 05:23:05 +10:00
axel
7492b6cdb3
Make all descriptions for function calls use the implicit translation from the previous patch instead of explicitly using N_
...
darcs-hash:20070116012918-ac50b-c1c0df64333ad910ca81dbc86ad193ece6680722.gz
2007-01-16 11:29:18 +10:00
axel
1b71f91a01
Update documentation display code to run roff on the client system instead of pregenerating documentation and compiling it into program binaries
...
darcs-hash:20061117162438-ac50b-5c4c7f0bd8bf53a16e16ecfead9569e642b7160f.gz
2006-11-18 02:24:38 +10:00
axel
17a13a8eb7
Use the xdg-open command in the open function if it exists
...
darcs-hash:20061011161749-ac50b-f700489a238dafbd9aec4ef4f2eed731a8622b27.gz
2006-10-12 02:17:49 +10:00
axel
c2f6c6c1d2
Do gettext translation of descriptions just-in-time internally in fish
...
darcs-hash:20060301165347-ac50b-3df9feec60dd9860e0988396d10b550a501f6802.gz
2006-03-02 02:53:47 +10:00
axel
343cafef34
Redo installation file structure, move lots of things to $PREFIX/share/fish
...
darcs-hash:20060217101339-ac50b-d93d2c620a4b7f75f05ff461a6edbee001da7613.gz
2006-02-17 20:13:39 +10:00