我在Windows 7上使用Git Bash,並將emacs設置爲默認文本編輯器時出現問題 - 我試過git config --global core.editor emacs
,然後git config --global core.editor "'C:/emacs-23.3/bin/runemacs.exe'"
, 。git config --global core.editor emacsclientw
但無濟於事每次進像在猛砸 'emacs的readme.txt' 文件,下面的錯誤顯示:sh.exe「:emacs:命令未找到(Git bash Windows)
sh.exe「:emacs的:沒有發現
我」命令我忍受了最長的時間,選擇了單獨打開emacs並打開相關文件,但這次我真的想設置一些東西以便我可以節省時間並簡單地從Git Bash調用emacs。有誰知道我能做什麼?在此先感謝您的幫助。
謝謝你!我在Windows中設置了PATH環境變量,然後做了'git config --global core.editor runemacs'和viola!它的工作就像一個魅力。格拉西亞斯:) – anthonytwp 2012-04-20 01:37:35