mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
corrected condition, removed debian plugin dependency
This commit is contained in:
parent
89d9e4a98c
commit
47e5c1b2e5
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
: ${NGINX_DIR:=/etc/nginx}
|
||||
: ${NGINX_VHOST_TEMPLATE:=$ZSH/plugins/nginx/templates/symfony2}
|
||||
|
||||
if [ $use_sudo -eq 1 ]; then
|
||||
if [[ -e $( which -p sudo 2>&1 ) ]]; then
|
||||
sudo="sudo"
|
||||
else
|
||||
sudo=""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue