| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent abf04b2 commit 449d9ec
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -833,7 +833,8 @@ std::string GetBashCompletion() { | |||
| 833 | 833 | " return 0\n" | |
| 834 | 834 | " fi\n" | |
| 835 | 835 | "}\n" | |
| 836 | - "complete -F _node_complete node node_g"; | ||
| 836 | + "complete -o filenames -o nospace -o bashdefault " | ||
| 837 | + "-F _node_complete node node_g"; | ||
| 837 | 838 | return out.str(); | |
| 838 | 839 | } | |
| 839 | 840 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -24,7 +24,8 @@ const suffix = `' -- "\${cur_word}") ) | |||
| 24 | 24 | return 0 | |
| 25 | 25 | fi | |
| 26 | 26 | } | |
| 27 | - complete -F _node_complete node node_g`.replace(/\r/g, ''); | ||
| 27 | + complete -o filenames -o nospace -o bashdefault -F _node_complete node node_g` | ||
| 28 | + .replace(/\r/g, ''); | ||
| 28 | 29 | ||
| 29 | 30 | assert.ok( | |
| 30 | 31 | output.includes(prefix), | |
| Back | FazBrowse Home | New Git URL |
0 commit comments