1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-22 13:50:09 +00:00
Commit graph

16 commits

Author SHA1 Message Date
Carlo Sala
540b2200af
feat(sudo): respect $SUDO_EDITOR and $VISUAL, switch to sudo -e (#10596) 2022-01-18 18:46:14 +01:00
Marc Cornellà
8b53d04942
docs(sudo): document key binding change 2021-12-29 16:26:35 +01:00
Marc Cornellà
190325049e
fix(sudo): allow different $EDITOR settings and fix zsh-syntax-highlighting redraw 2021-08-27 18:08:51 +02:00
Marc Cornellà
a1847dc860
style(sudo): apply main style guide indentation 2021-08-27 18:08:51 +02:00
Subhaditya Nath
874d83f7b8
feat(sudo): support aliases to $EDITOR (#9431)
Co-authored-by: Marc Cornellà <marc.cornella@live.com>
2020-11-11 21:25:32 +01:00
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
Marc Cornellà
610b2529d2 Clean up plugin READMEs and a few plugins
- fasd
- history
- mercurial
- pylint
- repo
- yii2
2020-03-11 19:57:46 +01:00
Jacob Tomaw
c130aadb6a Replace "restart shell" documentation "exec zsh" (#8411)
Running `source ~/.zshrc` can have side effects, it's better to reload the whole 
zsh session with `exec zsh`.
2019-11-19 19:44:00 +01:00
SomeDer
97c0d0a563 Allow plugins sudo and thefuck to be loaded before vi-mode (#8087) 2019-08-19 12:14:22 +02:00
Griko Nibras
441595d036 sudo: add README file (#7177) 2018-10-01 12:05:34 +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
dongweiming
744f3654e2 Add sudo plugin 2013-07-04 19:18:52 +08:00