Skip to content

Commit

Permalink
adding better default customization for eshell
Browse files Browse the repository at this point in the history
  • Loading branch information
eschulte committed Sep 3, 2009
1 parent ea9d8ac commit 220a808
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Expand Up @@ -22,3 +22,5 @@ tramp
starter-kit*el
starter-kit*html
doc
eshell/lastdir
eshell/history
6 changes: 6 additions & 0 deletions eshell/alias
@@ -0,0 +1,6 @@
alias ll ls -lh $*
alias emacs find-file $1
alias emaccs emacs $*
alias emacsc emacs $*
alias emasc emacs $*
alias emamcs emacs $*
10 changes: 10 additions & 0 deletions starter-kit-eshell.org
Expand Up @@ -31,3 +31,13 @@ This is part of the [[file:starter-kit.org][Emacs Starter Kit]].
'("tar" "\\(\\.tar|\\.tgz\\|\\.tar\\.gz\\)\\'"))
(add-to-list 'eshell-output-filter-functions 'eshell-handle-ansi-color)))
#+end_src

The =eshell= directory holds alias definitions and history
information. It is much like a =.bashrc= file for those who are
familiar with bash. This set the value of =eshell-directory-name= to
point to the =eshell= directory in this directory. The =alias= file
is pre-populated with some generally applicable aliases.

#+begin_src emacs-lisp
(setq eshell-directory-name (expand-file-name "eshell" dotfiles-dir))
#+end_src

0 comments on commit 220a808

Please sign in to comment.