| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Use Bash-like expansion for empty searches (when you just use a '%' by
itself).
'%' will now *only* match the last valid backgrounded process.
If there are no such processes, an expansion error will be generated.
'%' by itself would previously match either *all* backgrounded
processes, or failing that, all processes owned by your user. If you
ever tried to run `kill -9 %`, it would either kill all backgrounded
processes or *all* of your processes. I'm not sure why anyone would ever
want that to be a single keystroke away. You could almost typo it.
As a result, `fg %`, `bg %`, `kill %`, etc will all operate on the last
process touched by job control.
2. Don't run 'by-name' matches when the search term is numeric.
This prevents you from running a command like `kill %1` and accidentally
killing a process named something like "1Command". Overloaded behavior
can be dangerous, and we probably shouldn't play fast and loose with
expansion characters that generate process IDs.
|
|
|
|
| |
Fixes https://github.com/fish-shell/fish-shell/issues/785
|
|
|
|
|
| |
Other completions are still sorted by length.
https://github.com/fish-shell/fish-shell/issues/923
|
| |
|
|
|
|
|
|
| |
instead of the outermost.
Fixes https://github.com/fish-shell/fish-shell/issues/913
|
| |
|
| |
|
| |
|
|
|
|
| |
https://github.com/fish-shell/fish-shell/issues/647
|
|
|
|
| |
https://github.com/fish-shell/fish-shell/issues/616
|
|
|
|
|
|
|
| |
unless it fails
https://github.com/fish-shell/fish-shell/issues/547
https://github.com/fish-shell/fish-shell/issues/214
|
| |
|
| |
|
| |
|
|
|
|
| |
https://github.com/fish-shell/fish-shell/issues/512
|
|
|
|
|
|
|
| |
we no longer kill OpenSUSE
https://github.com/fish-shell/fish-shell/issues/367
Also fix some formatting
|
|
|
|
| |
Hopefully addresses https://github.com/fish-shell/fish-shell/issues/455
|
|
|
|
| |
Fixed https://github.com/fish-shell/fish-shell/issues/401
|
|
|
|
| |
https://github.com/fish-shell/fish-shell/issues/399
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes https://github.com/fish-shell/fish-shell/issues/292
|
| |
|
|
|
|
| |
Simplified some memory allocations by migrating to std::string
|
| |
|
| |
|
|
|
|
|
|
| |
- Saw these during normal usage today.
"parens" or "parenthesis" was spelled as "parans".
Fixed two instances of this to "parenthesis".
|
|
|
|
| |
Cleanup of non-wcstring version of path_get_path
|
|\ |
|
| |
| |
| |
| | |
OS X release build executable size dropped from 672k to 511k
|
| | |
|
| |
| |
| |
| |
| | |
Also fixed issue where process expansion would always fail for processes with spaces
Fixes https://github.com/fish-shell/fish-shell/issues/56
|
| | |
|
| |
| |
| |
| | |
Unescape characters before calling parser.error
|
| | |
|
| | |
|
| |
| |
| |
| | |
echo $PATH[1..$n]
|
| |
| |
| |
| |
| |
| | |
echo $PATH[-1..1] #now works
Add tests for ranges
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now the following code works:
> echo (seq 10)[-1..1]
With output:
10
9
8
7
6
5
4
3
2
1
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Builtin 'set' now can set variable index ranges:
set test[1..3] a b c #works
set test[-1..-3] a b c #works if variable have enough elements
set test[2..-2] a b c #works
set test[1..3 -1..-2] a b c b b #works
Expand now can parse index ranges. But not handle for now.
TODO:
* Add variable substitution index ranges: echo $PATH[-1..1]
* Add command substitution index range: echo (seq 10)[-1..-4]
* Add process substitution indexes and ranges: echo %vim[-1]
|
|
|
|
| |
Addresses https://github.com/fish-shell/fish-shell/issues/39
|
|
|
|
|
| |
Fixes issue where you couldn't control-C out of a loop (https://github.com/ridiculousfish/fishfish/issues/13)
Also stops doing memory allocation in the signal handler (oops) https://github.com/ridiculousfish/fishfish/issues/27
|
| |
|
|
|
|
| |
Fix to adopt the same escaping code for both completions and autosuggestions
|
|
|
|
| |
Improved how screen.cpp interacts with output_set_writer()
|
|
|
|
|
| |
Fix screwy output for invalid tilde expansion in expand.cpp
Some cleanup per clang static analyzer
|
|
|
|
| |
fork()
|
|
|
|
| |
a per-parser job list
|