fish-shell/share
Enrico Borba f10de5f653
__fish_prepend_sudo: Toggle "sudo" on multiple presses (#7012)
At the moment calling __fish_prepend_sudo multiple times does not toggle
sudo, and also unnecessarily uses the `-c` flag to `commandline` to see if
the first token on the commandline is "sudo".

This change removes the `-c` switch and also toggles "sudo" on multiple
calls to __fish_prepend_sudo, while maintaining the cursor position and
while maintaining any spaces between "sudo" and the next token on the
commandline.
2020-05-17 11:15:15 +02:00
..
completions completions/zpool: Use --inherit-variable 2020-05-16 23:02:47 +02:00
functions __fish_prepend_sudo: Toggle "sudo" on multiple presses (#7012) 2020-05-17 11:15:15 +02:00
groff workaround broken groff man page config 2016-10-19 13:43:04 -07:00
tools Use set -l to force use of a local variable 2020-05-15 08:25:07 +02:00
__fish_build_paths.fish.in Rename "snippets" to "conf" internally, and document them as snippets 2016-04-06 09:33:09 +08:00
config.fish Add another test for Konsole 2020-04-25 18:01:43 +02:00
lynx.lss Install custom LSS script to /usr/local/share/fish on make install 2017-09-26 14:31:11 -05:00