A new option exe_search_path to modify the locations kitty searches for executables to run

This commit is contained in:
Kovid Goyal
2021-12-09 12:13:26 +05:30
parent 77b15bf73f
commit 5f744368dd
6 changed files with 56 additions and 10 deletions

View File

@@ -761,7 +761,7 @@ def env(val: str, current_val: Dict[str, str]) -> Iterable[Tuple[str, str]]:
yield val, DELETE_ENV_VAR
def watcher(val: str, current_val: Container[str]) -> Iterable[Tuple[str, str]]:
def store_multiple(val: str, current_val: Container[str]) -> Iterable[Tuple[str, str]]:
val = val.strip()
if val not in current_val:
yield val, val