mirror of
https://github.com/fish-shell/fish-shell
synced 2024-09-21 06:51:58 +00:00
e646285bcb
* docs/faq: Mention prepend_sudo [ci skip] * __fish_prepend_sudo: Use $history[1] if commandline is empty Currently, if you press alt+s with an empty commandline, it inserts "sudo", which seems fairly useless. Now, it inserts "sudo " followed by the last history entry, which makes it a replacement for `sudo !!`. * docs |
||
---|---|---|
.. | ||
_static | ||
cmds | ||
CHANGELOG.rst | ||
commands.rst | ||
completions.rst | ||
conf.py | ||
design.rst | ||
faq.rst | ||
fish_indent_lexer.py | ||
index.rst | ||
license.rst | ||
tutorial.rst |