aboutsummaryrefslogtreecommitdiff
path: root/files/.zsh/rc/S50_functions
diff options
context:
space:
mode:
authorAnton Bobov <abobov@gmail.com>2016-12-02 09:09:12 +0500
committerAnton Bobov <abobov@gmail.com>2017-02-22 22:14:08 +0500
commita18809a83479b1348d5705e0c01d56091017d291 (patch)
tree540be853d94f77605fc1a87ff970b51aa3bfa71d /files/.zsh/rc/S50_functions
parent45cefc165c52fd746771696e387c6032663f39f3 (diff)
[zsh] Update aliases.
- Add quick ledger xact function "lx".
Diffstat (limited to 'files/.zsh/rc/S50_functions')
-rw-r--r--files/.zsh/rc/S50_functions8
1 files changed, 8 insertions, 0 deletions
diff --git a/files/.zsh/rc/S50_functions b/files/.zsh/rc/S50_functions
index be73970..2030acf 100644
--- a/files/.zsh/rc/S50_functions
+++ b/files/.zsh/rc/S50_functions
@@ -64,4 +64,12 @@ EOM
fi
}
+open() {
+ if [ $# == 0 ] ; then
+ xdg-open .
+ else
+ xdg-open $*
+ fi
+}
+
# vim: ft=zsh :