diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-10-12 21:22:47 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-10-12 21:22:47 +0100 |
commit | 9bb8b4d6c480ca3f59e15e004c07acad80b5b565 (patch) | |
tree | 7e808d965a94c1e39db0779323888019e9208b4a | |
parent | 4a90d3826827fb4fd36cfdb9d90e5017fce5c649 (diff) | |
download | dotfiles-9bb8b4d6c480ca3f59e15e004c07acad80b5b565.tar.gz |
Add eshell aliases
-rw-r--r-- | .emacs.d/.gitignore | 2 | ||||
-rw-r--r-- | .emacs.d/.ignore | 2 | ||||
-rw-r--r-- | .emacs.d/eshell/alias | 5 |
3 files changed, 7 insertions, 2 deletions
diff --git a/.emacs.d/.gitignore b/.emacs.d/.gitignore index ba080ad..b11b587 100644 --- a/.emacs.d/.gitignore +++ b/.emacs.d/.gitignore @@ -6,7 +6,6 @@ recentf savehist saveplace save -eshell elpa el-get semanticdb @@ -18,6 +17,7 @@ places .smex-items savefile/ projectile-bookmarks.eld +projects session* .cask tramp diff --git a/.emacs.d/.ignore b/.emacs.d/.ignore index ba080ad..b11b587 100644 --- a/.emacs.d/.ignore +++ b/.emacs.d/.ignore @@ -6,7 +6,6 @@ recentf savehist saveplace save -eshell elpa el-get semanticdb @@ -18,6 +17,7 @@ places .smex-items savefile/ projectile-bookmarks.eld +projects session* .cask tramp diff --git a/.emacs.d/eshell/alias b/.emacs.d/eshell/alias new file mode 100644 index 0000000..7d91aae --- /dev/null +++ b/.emacs.d/eshell/alias @@ -0,0 +1,5 @@ +alias ls ls --color=always $1 +alias ff find-file $1 +alias e find-file-other-window $1 +alias d dired $1 +alias gg git log --color --graph --oneline --abbrev-commit --decorate --all --date=short --pretty=format:"%C(cyan)%h %C(yellow)%ad %C(bold green)%d %C(reset)%s" |