Carlo Sala
540b2200af
feat(sudo): respect `$SUDO_EDITOR` and `$VISUAL`, switch to `sudo -e` ( #10596 )
4 years ago
Marc Cornellà
190325049e
fix(sudo): allow different $EDITOR settings and fix zsh-syntax-highlighting redraw
5 years ago
Marc Cornellà
a1847dc860
style(sudo): apply main style guide indentation
5 years ago
Subhaditya Nath
874d83f7b8
feat(sudo): support aliases to $EDITOR ( #9431 )
...
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
5 years ago
daddeffe
cd17aed9e1
sudo: keep space before the command to ignore it in the history ( #9178 )
...
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
6 years ago
MDHD
fd9781b4c7
sudo: make the behavior more in line with expectations ( #9047 )
6 years ago
SomeDer
97c0d0a563
Allow plugins sudo and thefuck to be loaded before vi-mode ( #8087 )
7 years ago
naegi
341e83f6f2
Plugin : Sudo - Add support of sudoedit ( #5035 )
...
* Add sudoedit support
* change describtion of sudo plugin
10 years ago
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.
11 years ago
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.
12 years ago
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).
12 years ago
dongweiming
744f3654e2
Add sudo plugin
13 years ago