diff options
author | mapc <musikmichael@web.de> | 2012-05-05 00:05:50 +0200 |
---|---|---|
committer | mapc <musikmichael@web.de> | 2012-05-29 03:22:10 +0200 |
commit | fcb153c2e32641bb13649bfdd8d3bbe8c17798c8 (patch) | |
tree | 8c19c8f932829a9a79cae106bc0be33a4489f10b /plugins/singlechar | |
parent | 1120f973054836eeb53750f57d69fbec41a340dc (diff) | |
download | zsh-fcb153c2e32641bb13649bfdd8d3bbe8c17798c8.tar.gz zsh-fcb153c2e32641bb13649bfdd8d3bbe8c17798c8.tar.bz2 zsh-fcb153c2e32641bb13649bfdd8d3bbe8c17798c8.zip |
Add the singlechar plugin
Diffstat (limited to 'plugins/singlechar')
-rw-r--r-- | plugins/singlechar/singlechar.plugin.zsh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/plugins/singlechar/singlechar.plugin.zsh b/plugins/singlechar/singlechar.plugin.zsh new file mode 100644 index 000000000..1440a6237 --- /dev/null +++ b/plugins/singlechar/singlechar.plugin.zsh @@ -0,0 +1,24 @@ +########################### +# Settings +# +# These can be overwritten any time. +# If they are not set yet, they will be +# overwritten with their default values + +default GREP grep +default ROOT sudo + +########################### +# Alias + +alias y='"$GREP" -i' +alias n='"$GREP" -vi' + +alias x='xargs' +alias xy='xargs "$GREP" -i' +alias xn='xargs "$GREP" -iv' + +alias s='"$ROOT"' +alias sx='"$ROOT" xargs' +alias sxy='"$ROOT" xargs "$GREP" -i' +alias sxn='"$ROOT" xargs "$GREP" -iv'
\ No newline at end of file |