mirror of
https://github.com/jimeh/.vscode.d.git
synced 2026-02-19 11:26:39 +00:00
chore(cursor/ext): add jimeh.executable-on-save extension
This commit is contained in:
@@ -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"
|
||||
// }
|
||||
]
|
||||
},
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user