浏览代码

ubuntu: fix aglu to list available upgrades (#8082)

Vignesh Balasubramaniam 4 年之前
父节点
当前提交
caf0bfa046
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      plugins/ubuntu/ubuntu.plugin.zsh

+ 3 - 3
plugins/ubuntu/ubuntu.plugin.zsh

@@ -12,10 +12,10 @@ alias acp='apt-cache policy'
 #List all installed packages
 alias agli='apt list --installed'
 
-# superuser operations ######################################################
-
 # List available updates only
-alias aglu='sudo apt-get -u upgrade --assume-no'
+alias aglu='apt list --upgradable'
+
+# superuser operations ######################################################
 
 alias afu='sudo apt-file update'