diff options
Diffstat (limited to '.functions')
-rw-r--r-- | .functions | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -272,6 +272,16 @@ function s() { fi } +# `a` with no arguments opens the current directory in Atom Editor, otherwise +# opens the given location +function a() { + if [ $# -eq 0 ]; then + atom . + else + atom "$@" + fi +} + # `v` with no arguments opens the current directory in Vim, otherwise opens the # given location function v() { |