This website requires JavaScript.
Explore
Help
Sign In
Mirrors
/
fish-shell
Watch
2
Star
0
Fork
You've already forked fish-shell
0
mirror of
https://github.com/fish-shell/fish-shell
synced
2025-01-01 07:38:46 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
8949c44574
fish-shell
/
tests
/
checks
/
features-percent-self1.fish
5 lines
92 B
Fish
Raw
Normal View
History
Unescape
Escape
Extended & human-friendly keys See the changelog additions for user-visible changes. Since we enable/disable terminal protocols whenever we pass terminal ownership, tests can no longer run in parallel on the same terminal. For the same reason, readline shortcuts in the gdb REPL will not work anymore. As a remedy, use gdbserver, or lobby for CSI u support in libreadline. Add sleep to some tests, otherwise they fall (both in CI and locally). There are two weird failures on FreeBSD remaining, disable them for now https://github.com/fish-shell/fish-shell/pull/10359/checks?check_run_id=23330096362 Design and implementation borrows heavily from Kakoune. In future, we should try to implement more of the kitty progressive enhancements. Closes #10359
2024-03-30 15:10:12 +00:00
#RUN: %fish --features=remove-percent-self %s | %filter-ctrlseqs
Add feature flag to turn off `%self` (#10262) This is the last remnant of the old percent expansion. It has the downsides of it, in that it is annoying to combine with anything: ```fish echo %self/foo ``` prints "%self/foo", not fish's pid. We have introduced $fish_pid in 3.0, which is much easier to use - just like a variable, because it is one. If you need backwards-compatibility for < 3.0, you can use the following shim: ```fish set -q fish_pid or set -g fish_pid %self ``` So we introduce a feature-flag called "remove-percent-self" to turn it off. "%self" will simply not be special, e.g. `echo %self` will print "%self".
2024-02-06 21:13:16 +00:00
echo
%self
# CHECK: %self
Reference in a new issue
Copy permalink