-
-
Save ershad/899583 to your computer and use it in GitHub Desktop.
A very small python script to call emacs with "-nw" parameter so that it opens inside the terminal. Copy it to /bin/ dir to start using :)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Copyright 2011 Ershad K <ershad92@[nospam]gmail.com> | |
# Licensed under GPL Version 3 | |
import sys | |
import os | |
arguments = "" | |
sys.argv.remove(sys.argv[0]) | |
for arg in sys.argv: | |
arguments += arg | |
os.system("emacs -nw " + arguments) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment