summaryrefslogtreecommitdiff
path: root/.emacs.d/eshell
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-12-08 11:07:32 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-12-08 11:07:35 -0700
commit96b6ab83612fd71c46236fdd4a808ecfa289451b (patch)
treedd42da242495eca8fff072127833f91c8c2f7435 /.emacs.d/eshell
parent428e8c3fab9361c3ddb72848da8a6ce7a21babb6 (diff)
downloaddotfiles-96b6ab83612fd71c46236fdd4a808ecfa289451b.tar.gz
add Eshell 'date' alias
Diffstat (limited to '.emacs.d/eshell')
-rw-r--r--.emacs.d/eshell/alias3
1 files changed, 3 insertions, 0 deletions
diff --git a/.emacs.d/eshell/alias b/.emacs.d/eshell/alias
index 1975aa81..0f0e5a42 100644
--- a/.emacs.d/eshell/alias
+++ b/.emacs.d/eshell/alias
@@ -19,6 +19,9 @@ alias tail-dak { cd /ssh:ftp-master.debian.org:/srv/ftp-master.debian.org/log &&
alias tail-queued { cd /ssh:ssh.upload.debian.org:/srv/upload.debian.org/queued/run && tail -f log }
alias package-plan-unpack ~/src/dotfiles/scripts/debian/package-plan-unpack "$1"; cd "/tmp/$1"
+# Commands for which we always want to use the external executable.
+alias date *date $*
+
# Override ~/.config/git/config and ~/.profile whose settings imply colours
# only when output is a tty, which it isn't with Eshell.
# We could just export the environment variables, but this should restrict the