-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme
25 lines (17 loc) · 622 Bytes
/
readme
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
doas.zsh
========
Plugin for zsh, that binds double escape to add doas before the command. Works with aliases.
Installation
------------
oh-my-zsh:
$ git clone https://github.com/monesonn/doas.zsh.git ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/doas
Then type doas in .zshrc' plugins section -> plugins ( doas )
Usage
-----
It's works for current typed command and previous failed excecuted commands:
$ some command
By pressing the [Ecs] twice, you'll have the same command with doas prefixed:
$ doas some command
Dependencies
------------
doasedit - http://git.io/doasedit (optional)