From 00b51d16711aee8f636dba397d5ce2469f2eb15b Mon Sep 17 00:00:00 2001 From: AChavali Date: Sun, 9 Feb 2020 23:51:20 +0000 Subject: ~pass all commandline args to emacs Editor command will now pass all command line args to emacs program --- zshenv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() { -- cgit v1.2.3-13-gbd6f