Commit Graph

17073 Commits

Author SHA1 Message Date
747284e44c alt2 Release
Some checks failed
make test / ubuntu (push) Failing after 32s
make test / ubuntu-asan (push) Failing after 34s
make test / ubuntu-threadsan (push) Failing after 33s
make test / ubuntu-32bit-fetched-pcre2 (push) Failing after 45s
make test / macos (push) Has been cancelled
Lock threads / lock (push) Failing after 19s
2024-11-08 17:24:19 +03:00
44eb0e0fd6 Adapted apt packages completion for ALT 2024-11-08 17:23:48 +03:00
e08ce560d8 3.7.1-alt1
- 3.7.1
2024-04-03 21:04:53 +03:00
0c2ac4c895 Release 3.7.1
-----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEnh3gZzzMAykZ0YUmwLlpspdOiI4FAmX5ClgACgkQwLlpspdO
 iI4aPg//TPGL7HwQ4VEn87lrstUwz1lqtG6GskVOU0vnhMtGB6u+nWd1FUATfUzt
 Y/OWfRTA6l7jTNGTRaijrAlL6NCfS83jbxbr19fFHIVbkValmsu7U9mYIoE4ir84
 SBTpSTlzYtwnCxMc+CX7/9Dca7itfZIOtP3iQWB0jNY7gIgr5J3P/wA0M7V1ndWO
 wKcpJWWIhJJ8OwqSIkuWUHIMuOkJ6qiOQT755fC+1Ja3KthhnROCeQc8O69UMiQd
 JdroBCCYDM+nYWSudf2E0FXpzqEnunDIzBWOcnrG9kO/97uptKOqMbhxX99h+Dxz
 Z9SIpHTMXZf3zrbmWki3doGDkQZGWX1H33n4lRsLJ4fDBkCR7HpEomBPnfVQFRrB
 dZkhaltfssA2gHXzrKsFOwnrjbDkscdwxUMGVkO6CfASg8nXUM1PrgYnMaYiJZBs
 JbcKbmodHpnxFQT54lwNTDJMeVVLesO68ZpKmNkqvZbqfv2656PCg87k4H4g1wJW
 fe1DEk6QasjCRlth5OPoowFwHmduXJ9aMPfWk0lGBbseuNei81HvYBb8Es7yk7Zf
 uhjcm8/+TAvZ781Ri6fD4WLnuH8futzYQrQNIwVUdAFYv5N+32roSAAWyoPdm/Pd
 As+pwj4hU2bJMNUCf5M9wrRAYqzDDW+94rJc89byiWZ63L8M34c=
 =J9VX
 -----END PGP SIGNATURE-----

Merge tag '3.7.1'

Release 3.7.1
2024-04-03 21:04:15 +03:00
David Adam
80394ea4e3 Release 3.7.1 2024-03-19 11:40:45 +08:00
David Adam
445fba4464 CHANGELOG: work on 3.7.1 2024-03-18 22:53:13 +08:00
fortifiedhill
9cebf5c9b6 Update htop completions
Added and updated completions and updated htop link.

(cherry picked from commit 8678ad8ca0a15c9421ef41bfde7c7bde071bfda9)
2024-03-18 22:34:55 +08:00
Xiretza
119d76bc0f Add completions for dmidecode
(cherry picked from commit 8271021fb6d2a9bbe16c22e4e9550a08e3ce8b34)
2024-03-18 22:34:55 +08:00
Felix Luciano Salomon
cc6df6d17f Added completion for ollama
Closes #10327

(cherry picked from commit 90b9bce174e105d8eb0c4d8f7b60caf9c36f64ec)
2024-03-18 22:34:55 +08:00
Mathis Chenuet
77e2fa343d Add completion for pstree (#10317)
* Add completion for pstree.fish

* use fish functions, much better

(cherry picked from commit 73d760560b1e295f0b843ff7b3fd04a87a8416c9)
2024-03-18 22:34:55 +08:00
QianChenglong
b864074288 add completion for mycli
Closes #10309

(cherry picked from commit b3c610feff681c3a829cfa8c5a201d110e7193d4)
2024-03-18 22:34:55 +08:00
Emily Grace Seville
c6f3b24dc5 feat: cobra-cli support (#10293)
* feat: cobra-cli support

* fix: cobra-cli completion

(cherry picked from commit 623f3463a5c3c8c69d924414a03e9a199a1efd0c)
2024-03-18 22:34:55 +08:00
Daniel Kahn Gillmor
d24b1ef229 tab completions: avoid completing gpg --use-embedded-filename
gpg's --use-embedded-filename is a dangerous option that can cause gpg
to write arbitrary content to arbitrary files.

According to the GnuPG maintainer, this is not an option recommended
for use (https://dev.gnupg.org/T4500).  Fish shouldn't encourage users
to supply it.

I've offered https://dev.gnupg.org/T6972 to upstream to make it even
more clear that this option is a bad idea.

While removing it, we might as well also remove
--no-use-embedded-filename, since it is effectively a no-op.

(cherry picked from commit b265152fba7a4ace8677b8e741cda5938f9a44e4)
2024-03-18 22:34:55 +08:00
Jason Nader
d655f40d43 completions: fix wg-quick interface completions
wg outputs space separated list

(cherry picked from commit 28d9f1878d0b68160b6ae123a51dc5f9c9ea8913)
2024-03-18 22:34:55 +08:00
Mark Huang
baf5102797 completions for apt and apt-get
(cherry picked from commit 65cf6ada568b971ba77669747d82419ca423ee1d)
2024-03-18 22:34:55 +08:00
Ikko Eltociear Ashimine
7b595b2e2e Update iwctl.fish
colum -> column

(cherry picked from commit 1e925857f0e32bf758c0720fb550f35fc62c0e01)
2024-03-18 22:34:55 +08:00
Asuka Minato
f82e29d320 add more strace completion (#10227)
* Update strace.fish

* Update strace.fish

* upper case

(cherry picked from commit 0f97111290daf60088b845a8a1fd645dced91cd0)
2024-03-18 22:34:55 +08:00
Damien Picard
d2e1ffc192 Completions: fix Blender completions when it prints to stderr
Some of the completions recently introduced called Blender itself to query some
arguments, and Blender sometimes prints messages to stderr. This output was not
filtered, resulting in the shell printing irrelevant messages during completion.

(cherry picked from commit 4f3e7ddef03671dcdae8db7234f1e80709312e71)
2024-03-18 22:34:55 +08:00
mhmdanas
a6c00ee637 completions/xbps-query: complete package name after -X
(cherry picked from commit a67b089c89ec3e399c85264eb4183c9df81334e0)
2024-03-18 22:34:55 +08:00
NextAlone
e2599545f2 completions/fastboot: fix flash completion
Signed-off-by: NextAlone <12210746+NextAlone@users.noreply.github.com>
(cherry picked from commit c587b2ffcc8736c967876060fff5afcd0e745b07)
2024-03-18 22:34:55 +08:00
David Adam
98662ae076 CHANGELOG: work on 3.7.1 2024-03-18 22:26:49 +08:00
Mahmoud Al-Qudsi
72d372cca1 Fix unnecessary move warning 2024-03-14 17:05:58 -05:00
Mahmoud Al-Qudsi
e2df29447f Silence warning about unused variable 2024-03-14 17:04:56 -05:00
Fabian Boehm
9b9cfc207f CHANGELOG for 3.7.1 2024-03-13 18:24:01 +01:00
Mahmoud Al-Qudsi
b7b20e9fac Always source file after funced (#10318)
... even if the file hasn't changed. This addresses an oddity in the following
case:

* Shell is started,
* function `foo` is sourced from foo.fish
* foo.fish is *externally* edited and saved
* <Loaded definition of `foo` is now stale, but fish is unaware>
* `funced foo` loads `type -p foo` showing changed definition, user exits
  $EDITOR saving no changes (or with $status 0, more generally).
* Stale definition of `foo` remains

(cherry picked from commit 2c2ab0c1fac1c982a682594d920e8fef735106fd)
2024-03-13 18:16:34 +01:00
Jason Nader
fada4f2e01 completions: add ssh -D option
(cherry picked from commit fc58b9c68f49150d9b85380fe28855e3efb973d4)
2024-03-13 18:15:24 +01:00
Paul Gier
2655d9a3fa functions: handle hostname starting with dash
If a hostname starts with a dash `-` character, the prompt_hostname function
fails because the `string` function interprets it as an option instead
of an argument.

(cherry picked from commit 6c9c033126417eda1cde6030b195997f78474a05)
2024-03-13 18:15:24 +01:00
Jason Nader
c3aefc581f completions: update 'echo'
(cherry picked from commit 2f332f001949d3b32fcf2928e855ed3349138bb9)
2024-03-13 18:15:24 +01:00
Fabian Boehm
36c8746870 docs/argparse: Add some more examples, something on -x
Fixes #10284

(cherry picked from commit 94d3307469d900f441d91818c4f461a90ee0f5c9)
2024-03-13 18:15:24 +01:00
Paul Ouellette
6cd1b23502 Remove share/completions/highlight.fish
Highlight ships its own completion script:
https://gitlab.com/saalen/highlight/-/blob/master/sh-completion/highlight.fish

(cherry picked from commit 2cb60bed1000a781bf427b56108bba2e7c68ba32)
2024-03-13 18:15:24 +01:00
Peter Collingbourne
1f9226aaa4 completions/fastboot: declare -s as taking an argument, add argument completions
(cherry picked from commit 0b3e9609f1387c2b41b519d96492e5bdee2815c3)
2024-03-13 18:15:24 +01:00
Nethum Lamahewage
6da36f4ae5 history: fix deleting last entry
(cherry picked from commit a36ff7d143ffe54ff40ed47ad15099522021edac)
2024-03-13 18:15:24 +01:00
zuisong
8ed052079f Add --url-query completion for curl (#10332)
Add missing completion for curl's `--url-query` option

(cherry picked from commit a1e46a94f60aa80ade92a39386f308526496b96b)
2024-03-13 18:15:24 +01:00
Fabian Boehm
95f6803241 docs/completions: Remove duplicated content
Fixes #fish-site/121
2024-02-14 21:54:02 +01:00
Johannes Altmanninger
47bb07eda3 __fish_anypager: prefer less over other pagers
This is our traditional behavior; "man" and "git" do the same.

(cherry picked from commit b83f3b0e982c89e2dc2c2fc23b950b84d7ee8d19)

Proposing this for 3.7.1 because I think see this as regression in 3.7.0 -
a user might have installed bat for syntax highlighting only.
2024-01-21 17:31:24 +01:00
a34526eb1c 3.7.0-alt1
- 3.7.0
2024-01-15 15:47:39 +03:00
e4adb5f106 Merge remote-tracking branch 'remotes/upstream/Integration_3.7.0' 2024-01-15 15:43:00 +03:00
Fabian Boehm
c31e194120 Revert "wildcard: Remove useless access() call for trailing slash"
This reverts commit 6823f5e3374f00f43e9d20a4db12d63e0bc5da84.

Fixes #10205
2024-01-09 18:59:32 +01:00
ksyx
001f797f80 fix: crash when running ELF w/ interpreter missing
The function `stat` as defined in `include/x86_64-linux-gnu/sys/stat.h`
marks its arguments as nonnull as in below. This UB causes crash in
release builds with variable `interpreter` assumed to be nonnull. Along
with failing stat returning nonzero value, this ultimately causes
`strlen` to be called with NULL as argument.

Definition of `stat`:
```
extern int stat (const char *__restrict __file,
		 struct stat *__restrict __buf) __THROW __nonnull ((1, 2));
```
Reproduce:
```
> # interp.c is any vaild single file C source
> gcc ./interp.c -Wl,--dynamic-linker=/bad -o interp
> echo './interp' > in.txt
> ./fish < in.txt
'./fish < in.txt' terminated by signal SIGSEGV (Address boundary error)
```

Co-authored-by: Moody Liu <mooodyhunter@outlook.com>
2024-01-09 13:23:52 +01:00
Asger Hautop Drewsen
b91723dab6 Log original exit code used when a builtin returns a negative exit code 2024-01-04 16:13:41 +01:00
David Adam
0e4d088b11 Release 3.7.0 2024-01-01 23:15:17 +08:00
Fabian Boehm
20d36cd9a2 set: Remove a broken array read
Hardcode "--erase" as a hack, because "argv[-1]" is *not* a thing.

Introduced in aacc71e585.

Fixed in master by no longer being C++.
2024-01-01 15:13:23 +01:00
David Adam
be0ea9862c CHANGELOG: work on 3.7.0 2024-01-01 22:01:45 +08:00
Fabian Boehm
d6833edf54 CHANGELOG 2024-01-01 00:14:26 +01:00
Fabian Boehm
5c532ace5a CHANGELOG umask fix 2023-12-31 19:40:18 +01:00
Fabian Boehm
3b9b84101a umask: Correctly handle empty symbolic value
Simple return/echo confusion.

Fixes #10177

(cherry picked from commit b895cf49ca91329d8903e0f9aa2b0f64437c2608)
2023-12-31 19:39:38 +01:00
jydeng
4c616c56b2 add more subcommands for apt (#10100)
(cherry picked from commit b9b850f2868f9df2fde809c2b8bc2c854de15a46)
2023-12-31 23:01:03 +08:00
David Adam
8a447355a2 CHANGELOG: work on 3.7.0 2023-12-31 22:37:18 +08:00
Johannes Stölp
58d1467fb7 [doc]: fix --path description of set cmd
(cherry picked from commit 1cba28c120854edbb926138b5b99c28d7db38737)
2023-12-31 13:30:10 +08:00
David Adam
8508cc50b0 CHANGELOG: work on 3.7.0 2023-12-31 13:07:02 +08:00