diff options
author | Amin Bandali <bandali@gnu.org> | 2018-11-18 02:02:44 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2018-11-18 02:02:44 -0500 |
commit | 73a77e5bda367aa3380d53543be9575dd4000206 (patch) | |
tree | eb00e91caa531fb1f999459c929a1eef8534ee0f | |
parent | 05f602d9cfaf567dd0d21bd5c15e9261eb08465c (diff) | |
download | configs-73a77e5bda367aa3380d53543be9575dd4000206.tar.gz configs-73a77e5bda367aa3380d53543be9575dd4000206.tar.xz configs-73a77e5bda367aa3380d53543be9575dd4000206.zip |
[emacs] assimilate and add eshell-up, add eshell aliases file
eshell aliases file based on
https://github.com/dakra/dmacs/blob/master/etc/eshell-aliases
Diffstat (limited to '')
-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 |