Open Alan3344 opened 1 year ago
There is no problem with running this command, but if you install the formatting tool, you will be prompted, which makes it impossible to format the shell code
lsfolder() { folder=$(find "$PWD" -type d ! -regex '.*/\..*' ! -name "__pycache__" -exec echo {} \;) echo $folder } export lspath() { echo `lsfolder | tr '\n' ':' | sed 's/:$//'` }
error: 138:14: "export" must be followed by names or assignments
138:14: "export" must be followed by names or assignments
The syntax is currently not recognized, and I hope it can be optimized
There is no problem with running this command, but if you install the formatting tool, you will be prompted, which makes it impossible to format the shell code
error:
138:14: "export" must be followed by names or assignments
The syntax is currently not recognized, and I hope it can be optimized