Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
3e4d10c4
Commit
3e4d10c4
authored
Oct 16, 2019
by
Shahin Sorkh
Committed by
Marc Cornellà
Oct 16, 2019
Browse files
lib: allow alias expansion in _ sudo alias (#8268)
parent
563c0708
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/misc.zsh
View file @
3e4d10c4
...
@@ -22,7 +22,7 @@ env_default 'PAGER' 'less'
...
@@ -22,7 +22,7 @@ env_default 'PAGER' 'less'
env_default
'LESS'
'-R'
env_default
'LESS'
'-R'
## super user alias
## super user alias
alias
_
=
'sudo'
alias
_
=
'sudo
'
## more intelligent acking for ubuntu users
## more intelligent acking for ubuntu users
if
which ack-grep &> /dev/null
;
then
if
which ack-grep &> /dev/null
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment