mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 01:58:31 +08:00

* 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