Skip to content

Instantly share code, notes, and snippets.

@fnobi
Created February 11, 2013 15:40
Show Gist options
  • Save fnobi/4755188 to your computer and use it in GitHub Desktop.
Save fnobi/4755188 to your computer and use it in GitHub Desktop.
terminalを棄ててEmacsと心中するための設定 ref: http://qiita.com/items/8906c8e7759751d32b6b
## create emacs env file
perl -wle \
'do { print qq/(setenv "$_" "$ENV{$_}")/ if exists $ENV{$_} } for @ARGV' \
PATH > ~/.emacs.d/shellenv.el
;; 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