fix: shell execution for fish

This commit is contained in:
iff 2023-08-12 23:09:56 +02:00
parent 1d78b20404
commit 3e9678506a
2 changed files with 3 additions and 3 deletions

View file

@ -2,13 +2,13 @@ command = "cd"
[[match_err]]
pattern = [
"no such file or directory"
"no such file or directory",
"does not exist"
]
# as rust runs on its own environment, it's not possible to change
# the directory automatically
suggest = [
'''
#[err_contains(no such file or directory)]
mkdir -p {{command[1]}}
cd {{command[1]}} '''
]