Revision: 10623
Author: [email protected]
Date: Tue Feb 7 04:40:48 2012
Log: Add filename completion to d8's bash completion.
Review URL: https://chromiumcodereview.appspot.com/9346017
http://code.google.com/p/v8/source/detail?r=10623
Modified:
/branches/bleeding_edge/tools/bash-completion.sh
=======================================
--- /branches/bleeding_edge/tools/bash-completion.sh Mon Feb 6 07:06:24
2012
+++ /branches/bleeding_edge/tools/bash-completion.sh Tue Feb 7 04:40:48
2012
@@ -48,7 +48,7 @@
cat src/d8.cc \
| grep "strcmp(argv\[i\]" \
| sed -ne 's/^[^"]*"--\([^"]*\)".*/--\1/p')
- COMPREPLY=($(compgen -W "$targets" -- "$cur"))
+ COMPREPLY=($(compgen -W "$targets" -- "$cur") $(compgen -f -- "$cur"))
return 0
}
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev