Created
February 11, 2013 15:40
-
-
Save fnobi/4755188 to your computer and use it in GitHub Desktop.
terminalを棄ててEmacsと心中するための設定 ref: http://qiita.com/items/8906c8e7759751d32b6b
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
## create emacs env file | |
perl -wle \ | |
'do { print qq/(setenv "$_" "$ENV{$_}")/ if exists $ENV{$_} } for @ARGV' \ | |
PATH > ~/.emacs.d/shellenv.el |
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
;; set eshell aliases | |
(setq eshell-command-aliases-list | |
(append | |
(list | |
(list "desk" "cd ~/Desktop") | |
(list "swipl" "/opt/local/bin/swipl")) | |
eshell-command-aliases-list)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment