Merge branch 'fish-sudo' of https://github.com/sersorrel/kitty
This commit is contained in:
commit
4897c4df00
1 changed files with 1 additions and 1 deletions
|
|
@ -121,7 +121,7 @@ function __ksi_schedule --on-event fish_prompt -d "Setup kitty integration after
|
|||
set is_sudoedit "y"
|
||||
break
|
||||
end
|
||||
if not string match -r -q "^-" "$arg" and not string match -r -q "=" "$arg"
|
||||
if not string match -r -q -- "^-" "$arg" and not string match -r -q -- "=" "$arg"
|
||||
break # reached the command
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue