浏览代码

Add sudo without xargs shortcuts

mapc 13 年之前
父节点
当前提交
6f5599474f
共有 1 个文件被更改,包括 13 次插入0 次删除
  1. 13 0
      plugins/singlechar/singlechar.plugin.zsh

+ 13 - 0
plugins/singlechar/singlechar.plugin.zsh

@@ -59,6 +59,19 @@ alias xu='xargs "$CURL"'
 
 alias s='"$ROOT"'
 
+alias sy='"$ROOT" "$GREP" -i'
+alias sn='"$ROOT" "$GREP" -iv'
+
+alias sc='"$ROOT" cat'
+alias sw='"$ROOT" cat >'
+alias sa='"$ROOT" cat >>'
+
+alias sp='"$ROOT" "$PAGER"'
+
+alias sd='"$ROOT" "$WGET"'
+
+# SUDO-XARGS
+
 alias sx='"$ROOT" xargs'
 
 alias sxy='"$ROOT" xargs "$GREP" -i'