summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xemacs.org14
1 files changed, 4 insertions, 10 deletions
diff --git a/emacs.org b/emacs.org
index 9ade990..4b23b59 100755
--- a/emacs.org
+++ b/emacs.org
@@ -1044,22 +1044,16 @@ Create function to watch videos using ~mpv~
'((g . magit)
(gl . magit-log)
(d . dired)
- (o . find-file)
+ (o . find-file)
(oo . find-file-other-window)
- (ls . "ls -la")))
+ (ls . (lambda () (eshell/ls '-la)))
+ (ll . (lambda () (eshell/ls)))))
;; Define aliases using `mapcar`
(mapc (lambda (alias)
- (let ((alias-name (if (symbolp (car alias))
- (symbol-name (car alias))
- (car alias)))
- (alias-value (if (symbolp (cdr alias))
- (symbol-name (cdr alias))
- (cdr alias))))
- (eshell/alias alias-name alias-value)))
+ (defalias (car alias) (cdr alias)))
thanos/eshell-aliases)
-
;; PATH
(defvar eshell-path-env (getenv "~/.local/bin"))
#+end_src