git style quoting for ActionItemOther
Added StringContainingQuotedPath, which is used for ActionItemOther. In the process, checked every ActionItemOther for those containing filenames, and made them use quoting. Sponsored-by: Graham Spencer on Patreon
This commit is contained in:
parent
d689a5b338
commit
2ba1559a8e
41 changed files with 158 additions and 89 deletions
|
@ -24,9 +24,10 @@ seek :: CmdParams -> CommandSeek
|
|||
seek = withWords (commandAction . start)
|
||||
|
||||
start :: [String] -> CommandStart
|
||||
start ws = starting "reinit" (ActionItemOther (Just s)) (SeekInput ws) $
|
||||
start ws = starting "reinit" ai (SeekInput ws) $
|
||||
perform s
|
||||
where
|
||||
ai = ActionItemOther (Just (UnquotedString s))
|
||||
s = unwords ws
|
||||
|
||||
perform :: String -> CommandPerform
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue