Commit graph

4 commits

Author SHA1 Message Date
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
dongweiming 744f3654e2 Add sudo plugin 2013-07-04 19:18:52 +08:00