diff options
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | .gitmodules | 3 | ||||
-rw-r--r-- | init.org | 7 | ||||
m--------- | lib/eshell-up | 0 | ||||
-rw-r--r-- | var/eshell/alias | 16 |
5 files changed, 32 insertions, 1 deletions
@@ -2,4 +2,9 @@ /early-init.el /init.el -/var + +/var/* +/var/eshell/history + +!/var/eshell +!/var/eshell/alias diff --git a/.gitmodules b/.gitmodules index 9923021..515dd81 100644 --- a/.gitmodules +++ b/.gitmodules @@ -85,6 +85,9 @@ [submodule "epl"] path = lib/epl url = git@github.com:cask/epl.git +[submodule "eshell-up"] + path = lib/eshell-up + url = git@github.com:peterwvj/eshell-up.git [submodule "evil"] path = lib/evil url = git@github.com:emacs-evil/evil.git @@ -1956,6 +1956,13 @@ For when I /have to/ use GH. (setq magithub-clone-default-directory "~/src/git")) #+end_src +** [[https://github.com/peterwvj/eshell-up][eshell-up]] + +#+begin_src emacs-lisp +(use-package eshell-up + :after eshell) +#+end_src + * Email #+begin_src emacs-lisp diff --git a/lib/eshell-up b/lib/eshell-up new file mode 160000 +Subproject 9c100bae5c3020e8d9307e4332d3b64e7dc2851 diff --git a/var/eshell/alias b/var/eshell/alias new file mode 100644 index 0000000..77c8c38 --- /dev/null +++ b/var/eshell/alias @@ -0,0 +1,16 @@ +alias .. cd .. +alias ... cd ../.. +alias e find-file-other-window $1 +alias ee find-file $1 +alias emacs find-file $1 +alias gd magit-diff-unstaged +alias gds magit-diff-staged +alias git git --no-pager $* +alias l ls -l $* +alias la ls -al $* +alias ll ls -al $* +alias man woman $1 +alias up eshell-up $1 +alias pk eshell-up-peek $1 +alias vi find-file $1 +alias vim find-file $1 |