mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 10:57:30 +08:00
18f6492564
If I type $ echo $SOME_VARIABLE_WIHT_A_TYPO $ set -S SOME_VARIABLE_WIHT and press tab, I'm always extremely surprised that this completes to $ set -S fish_history which is because $history[1] contains the typo'd variable name. I don't think anyone intends to filter by that last 3-4 history items, so let's remove this pitfall. Note that I usually hit this scenario with undefined variables, not necessarily typos.. "set -S" is usually redundant but it's still quite nice in this case, to rule out any weird empty strings/empty lists. |
||
---|---|---|
.. | ||
completions | ||
functions | ||
groff | ||
tools | ||
__fish_build_paths.fish.in | ||
config.fish |