Kaynağa Gözat

Change command order

master
Arun Prakash Jana 5 yıl önce
ebeveyn
işleme
38de6efd48
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: A75979F35C080412
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. +3
    -3
      plugins/suedit

+ 3
- 3
plugins/suedit Dosyayı Görüntüle

@@ -12,10 +12,10 @@ is_cmd_exists () {
echo $?
}

if [ "$(is_cmd_exists sudoedit)" -eq "0" ]; then
sudoedit "$1"
elif [ "$(is_cmd_exists sudo)" -eq "0" ]; then
if [ "$(is_cmd_exists sudo)" -eq "0" ]; then
sudo "$EDITOR" "$1"
elif [ "$(is_cmd_exists sudoedit)" -eq "0" ]; then
sudoedit "$1"
elif [ "$(is_cmd_exists doas)" -eq "0" ]; then
doas "$EDITOR" "$1"
fi

||||||
x
 
000:0
Yükleniyor…
İptal
Kaydet