Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakantony committed Mar 6, 2014
1 parent fa65f25 commit 93d9264
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README
Expand Up @@ -14,9 +14,15 @@ Here is a sample run in cygwin:
$ which emacs
/usr/bin/emacs
$ mv /usr/bin/emacs /usr/bin/emacs.old
$ vi /usr/bin/emacs # this is too simplistic; use a script similar to the one used for mac as shown below.
$ vi /usr/bin/emacs # this one works only in cygwin
#!/bin/bash
/cygdrive/c/emacs-24.1/bin/emacs.exe $1
if [ $# -gt 0 ]
then
/cygdrive/c/emacs-24.2/bin/emacs "$(cygpath -w $1)"
else
/cygdrive/c/emacs-24.2/bin/emacs
fi

$ chmod +x /usr/bin/emacs

In mac, the edit on the /usr/bin/emacs would look like this (I think this is best for other OS's too).
Expand Down

0 comments on commit 93d9264

Please sign in to comment.