mirror of
https://github.com/SqrtMinusOne/eshell-atuin.git
synced 2025-12-10 12:23:03 +03:00
eshell-atuin: add default values for format-spec (#2)
This commit is contained in:
parent
8415f1a5aa
commit
a7ec9718b2
1 changed files with 7 additions and 7 deletions
|
|
@ -293,13 +293,13 @@ This only works for lines created with the value of the -f flag from
|
|||
(when (alist-get 'command e)
|
||||
(setf (alist-get 'formatted-value e)
|
||||
(format-spec eshell-atuin-history-format
|
||||
`((?t . ,(alist-get 'time e))
|
||||
(?e . ,(alist-get 'exit e))
|
||||
(?d . ,(alist-get 'duration e))
|
||||
(?c . ,(alist-get 'command e))
|
||||
(?i . ,(alist-get 'directory e))
|
||||
(?h . ,(alist-get 'host e))
|
||||
(?r . ,(alist-get 'relativetime e))))))
|
||||
`((?t . ,(alist-get 'time e ""))
|
||||
(?e . ,(alist-get 'exit e ""))
|
||||
(?d . ,(alist-get 'duration e ""))
|
||||
(?c . ,(alist-get 'command e ""))
|
||||
(?i . ,(alist-get 'directory e ""))
|
||||
(?h . ,(alist-get 'host e ""))
|
||||
(?r . ,(alist-get 'relativetime e ""))))))
|
||||
e))
|
||||
|
||||
(defun eshell-atuin--add-datum-to-cache (datum)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue