summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.gitignore7
-rw-r--r--.gitmodules3
-rw-r--r--init.org7
m---------lib/eshell-up0
-rw-r--r--var/eshell/alias16
5 files changed, 32 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 6a2dcca..d949b2b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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
diff --git a/init.org b/init.org
index b6fe1b8..ed8bddb 100644
--- a/init.org
+++ b/init.org
@@ -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