Commit Graph

7 Commits

Author SHA1 Message Date
daddeffe cd17aed9e1
sudo: keep space before the command to ignore it in the history (#9178)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-08-23 22:58:08 +02:00
MDHD fd9781b4c7
sudo: make the behavior more in line with expectations (#9047) 2020-07-06 17:13:49 +02:00
SomeDer 97c0d0a563 Allow plugins sudo and thefuck to be loaded before vi-mode (#8087) 2019-08-19 12:14:22 +02:00
naegi 341e83f6f2 Plugin : Sudo - Add support of sudoedit (#5035)
* Add sudoedit support

* change describtion of sudo plugin
2016-08-14 17:45:00 -07:00
Fabio Strozzi ff8d799594 Esc-esc now toggles sudo.
Press esc-esc once to add sudo (normal behaviour), press it twice
to remove it from the beginning of the line.
2015-07-12 17:01:34 +02:00
Giel van Schijndel 1e7c6743a7 sudo: maintain cursor position
I.e. when prefixing the current command-line with 'sudo ' maintain the
current cursor position instead of jumping to the end of the line.
2014-09-15 15:36:34 +02:00
lumbric b58b996b40 fix name schema for sudo plugin
Plugin won't load automatically if added to variable $plugins, if name schema different than $name/$name.plugin.zsh is used (see is_plugin() in oh-my-zsh.sh).
2013-12-21 19:49:44 +01:00
Renamed from plugins/sudo/sudo.zsh (Browse further)