chore(cursor/ext): add jimeh.executable-on-save extension

This commit is contained in:
2025-10-14 12:11:03 +01:00
parent 1f2a930e2c
commit ddf00063c5
2 changed files with 6 additions and 5 deletions

View File

@@ -773,10 +773,10 @@
//
"emeraldwalk.runonsave": {
"commands": [
{ // Automatically chmod +x script files (first two bytes are `#!`).
"match": ".*",
"cmd": "if [ ! -x \"${file}\" ] && head -n 1 \"${file}\" | grep -q '^#!'; then echo \"Marking ${relativeFile} as executable...\" && chmod +x \"${file}\"; fi"
}
// { // Automatically chmod +x script files (first two bytes are `#!`).
// "match": ".*",
// "cmd": "if [ ! -x \"${file}\" ] && head -n 1 \"${file}\" | grep -q '^#!'; then echo \"Marking ${relativeFile} as executable...\" && chmod +x \"${file}\"; fi"
// }
]
},
//