Fix rg/ag in eshell #1122

Arguments aren't implicitly passed to aliases.
This commit is contained in:
Henrik Lissner 2019-01-22 14:56:38 -05:00
parent c32862c325
commit 4b129cb17d
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -22,8 +22,8 @@ buffer.")
'(("q" "exit") ; built-in '(("q" "exit") ; built-in
("f" "find-file $1") ("f" "find-file $1")
("bd" "eshell-up $1") ; `eshell-up' ("bd" "eshell-up $1") ; `eshell-up'
("rg" "rg --color=always") ("rg" "rg --color=always $*")
("ag" "ag --color=always") ("ag" "ag --color=always $*")
("l" "ls -lh") ("l" "ls -lh")
("ll" "ls -lah") ("ll" "ls -lah")
("clear" "clear-scrollback")) ; more sensible than default ("clear" "clear-scrollback")) ; more sensible than default