tags 27954 + patch quit Tobias Zawada writes: > In eshell: > > alias ll ls -l > > gives a full listing of all files as result of the following eshell-command: > > ll test.txt > > But, I expect only the listing for the file test.txt. > > At that link location there is also the following fast hack as workaround: > > ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; > ;; beginning of hack > > (defun eshell-maybe-replace-by-alias-bugfix-25.2.1 (command args) > "If COMMAND has an alias definition, call that instead using ARGS." > (unless (and eshell-prevent-alias-expansion > (member command eshell-prevent-alias-expansion)) > (let ((alias (eshell-lookup-alias command))) > (if alias > (throw 'eshell-replace-command > `(let ((eshell-command-name ',eshell-last-command-name) > (eshell-command-arguments ',eshell-last-arguments) > (eshell-prevent-alias-expansion > ',(cons command eshell-prevent-alias-expansion))) > ,(eshell-parse-command (nth 1 alias) args))))))) > > (advice-add #'eshell-maybe-replace-by-alias :override #'eshell-maybe-replace-by-alias-bugfix-25.2.1) So this really just a case not ignoring ARGS, right?