浏览代码

Use a static apt-get where only apt-get works

mapc 12 年之前
父节点
当前提交
7d24f4cd40
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/debian/debian.plugin.zsh

+ 1 - 1
plugins/debian/debian.plugin.zsh

@@ -56,7 +56,7 @@ if [[ $use_sudo -eq 1 ]]; then
     alias ar='sudo $apt_pref remove'
 
     # apt-get only
-    alias ads='sudo $apt_pref dselect-upgrade'
+    alias ads='sudo apt-get dselect-upgrade'
 
     # Install all .deb files in the current directory.
     # Warning: you will need to put the glob in single quotes if you use: