Here is a cool emacs launcher for your .bashrc file if you like reverse video.
# Launch Emacs in full screen, optionally with a file
# Launch Emacs in full screen, optionally with a file
emacsx() {
if [ "$#" -eq 0 ]; then
command emacs -rv --fullscreen
else
command emacs -rv --fullscreen "$@"
fi
}
if [ "$#" -eq 0 ]; then
command emacs -rv --fullscreen
else
command emacs -rv --fullscreen "$@"
fi
}
$# in bash is a special parameter that represents the number of positional parameters to a script of function.
No comments:
Post a Comment