fcb153c2e32641bb13649bfdd8d3bbe8c17798c8
- Author
- mapc <musikmichael@web.de>
- Committer
- mapc <musikmichael@web.de>
- Date
Message
Add the singlechar plugin
Diff
1diff --git a/plugins/singlechar/singlechar.plugin.zsh b/plugins/singlechar/singlechar.plugin.zsh
2new file mode 100644
3index 0000000000000000000000000000000000000000..1440a62379e897fe0da8c3e2995e779d1d5de8aa
4--- /dev/null
5+++ b/plugins/singlechar/singlechar.plugin.zsh
6@@ -0,0 +1,24 @@
7+###########################
8+# Settings
9+#
10+# These can be overwritten any time.
11+# If they are not set yet, they will be
12+# overwritten with their default values
13+
14+default GREP grep
15+default ROOT sudo
16+
17+###########################
18+# Alias
19+
20+alias y='"$GREP" -i'
21+alias n='"$GREP" -vi'
22+
23+alias x='xargs'
24+alias xy='xargs "$GREP" -i'
25+alias xn='xargs "$GREP" -iv'
26+
27+alias s='"$ROOT"'
28+alias sx='"$ROOT" xargs'
29+alias sxy='"$ROOT" xargs "$GREP" -i'
30+alias sxn='"$ROOT" xargs "$GREP" -iv'