Skip to content

Commit 4e2ea45

Browse files
Fatme HavaluovaFatme Havaluova
authored andcommitted
Fix autocompletion on command's arguments
1 parent b63921f commit 4e2ea45

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

bin/nativescript

100644100755
File mode changed.

bin/tns

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
3+
AB_DIR="`dirname \"$0\"`"
4+
node "$AB_DIR/nativescript.js" $@

lib/commands/post-install.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ export class PostInstallCommand implements ICommand {
7272
private updateShellScriptCore(filePath: string): IFuture<void> {
7373
return (() => {
7474
this.$childProcess.exec("nativescript completion >> " + filePath).wait();
75-
this.$childProcess.exec("tns completion >> " + filePath).wait();
7675
}).future<void>()();
7776
}
7877

0 commit comments

Comments
 (0)