refactor: rearrange in workspaces

This commit is contained in:
iff 2024-12-08 13:21:14 +01:00
parent b186394e18
commit 000b50c211
35 changed files with 554 additions and 39 deletions

View file

@ -1,26 +0,0 @@
command = "cd"
[[match_err]]
pattern = [
"no such file or directory",
"does not exist"
]
suggest = [
'''
cd {{typo[1](file)}}
''',
'''
#[!shell(nu)]
mkdir --parents {{command[1]}} && \
cd {{command[1]}} '''
]
[[match_err]]
pattern = [
"nu::shell::directory_not_found"
]
suggest = [
'''
mkdir {{command[1]}} and \
cd {{command[1]}} '''
]