From 9bb8b4d6c480ca3f59e15e004c07acad80b5b565 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Wed, 12 Oct 2022 21:22:47 +0100 Subject: Add eshell aliases --- .emacs.d/.gitignore | 2 +- .emacs.d/.ignore | 2 +- .emacs.d/eshell/alias | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .emacs.d/eshell/alias 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" -- cgit 1.4.1-2-gfad0