feat: add support to insert symbols as valid position and name entries in the abbreviation record on (radix home services shells)
parent
d06288ad8e
commit
ecd5d2c56f
|
@ -47,10 +47,10 @@
|
|||
(define-record-type* <abbreviation>
|
||||
abbreviation make-abbreviation
|
||||
abbreviation?
|
||||
(name abbreviation-name) ; string
|
||||
(name abbreviation-name) ; string | symbol
|
||||
(pattern abbreviation-pattern ; string | #f
|
||||
(default #f))
|
||||
(position abbreviation-position ; "command" | "anywhere" | #f
|
||||
(position abbreviation-position ; 'command | 'anywhere | #f
|
||||
(default #f)) ; defaults to "command" -´
|
||||
(marker abbreviation-marker ; char
|
||||
(default #\%))
|
||||
|
@ -70,8 +70,8 @@
|
|||
~@[--regex ~a ~]~
|
||||
--set-cursor=~a ~
|
||||
~a~%"
|
||||
#$name
|
||||
#$position
|
||||
'#$name
|
||||
'#$position
|
||||
#$pattern
|
||||
#$marker
|
||||
#$(if (fish-function? expansion)
|
||||
|
|
Loading…
Reference in New Issue