diff options
-rwxr-xr-x | emacs.org | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -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 |