summaryrefslogtreecommitdiff
path: root/etc/aliases/short
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-12 10:43:52 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-12 10:43:56 +0100
commit2ea9d99d207cc1d0263767fe0b006460915f4da0 (patch)
treecd76978322faab21e7da05ca6e78b428087df880 /etc/aliases/short
parent21d19830698e79cc46f4222ff51d985c362e9686 (diff)
Moved aliases directory out of the core zshrc
Diffstat (limited to 'etc/aliases/short')
-rw-r--r--etc/aliases/short43
1 files changed, 43 insertions, 0 deletions
diff --git a/etc/aliases/short b/etc/aliases/short
new file mode 100644
index 0000000..5cb9cd8
--- /dev/null
+++ b/etc/aliases/short
@@ -0,0 +1,43 @@
+## Short aliases
+## vim:ft=zsh
+
+## For Loops
+alias allf='for i in *(.);'
+alias alld='for i in *(/);'
+alias alle='for i in *(*);'
+alias alll='for i in *(@);'
+alias all='for i in *;'
+
+alias allfr='for i in **/*(.);'
+alias alldr='for i in **/*(/);'
+alias aller='for i in **/*(*);'
+alias alllr='for i in **/*(@);'
+alias allr='for i in **/*;'
+
+alias dua='du --apparent-size'
+
+## fbi
+alias fbif='fbi -a'
+alias fbij='fbi -a -u'
+
+for i in ~/var/gtd/*(.N); {
+ alias gtd-${i:t}='todo --database '$i
+}
+
+# File listings
+alias lsb='tar tvjf'
+alias lsgz='tar tvzf'
+alias lsi='feh --list'
+alias lst='tar tvf'
+alias lsz='unzip -l'
+
+alias nb='newsbeuter'
+alias nbr='newsbeuter -r'
+
+alias rd='rmdir'
+
+alias rsync-serve="rsync --daemon --port=10873 --no-detach --config=/dev/stdin --log-file=/dev/stdout -v <<< $'[.]\n\tpath = .\n\tuse chroot = no'"
+
+## Suspend
+salias s2d='s2disk'
+salias s2r='s2ram -f'