aboutsummaryrefslogtreecommitdiff
path: root/zshenv
diff options
context:
space:
mode:
authorAChavali <aryadevchavali1@gmail.com>2020-02-09 23:51:20 +0000
committerAChavali <aryadevchavali1@gmail.com>2020-02-09 23:51:20 +0000
commit00b51d16711aee8f636dba397d5ce2469f2eb15b (patch)
treeb805bc9672a6ff5567e3963a7ffeda00f53a8110 /zshenv
parente6ac30765f5ac3450276c384fe82dd60000b0b57 (diff)
downloaddotfiles-00b51d16711aee8f636dba397d5ce2469f2eb15b.tar.gz
dotfiles-00b51d16711aee8f636dba397d5ce2469f2eb15b.tar.bz2
dotfiles-00b51d16711aee8f636dba397d5ce2469f2eb15b.zip
~pass all commandline args to emacs
Editor command will now pass all command line args to emacs program
Diffstat (limited to 'zshenv')
-rw-r--r--zshenv2
1 files changed, 1 insertions, 1 deletions
diff --git a/zshenv b/zshenv
index c807407..885fa56 100644
--- a/zshenv
+++ b/zshenv
@@ -15,7 +15,7 @@ export XDG_RUNTIME_DIR=/run/user/`id -u`
# Programming
editor() {
- nohup emacs $1 > /dev/null &
+ nohup emacs $@ > /dev/null &
}
gentemplate() {