We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c17eec5 commit da8957aCopy full SHA for da8957a
pkg/tmuxp.bash
@@ -1,3 +1,25 @@
1
#!/usr/bin/env bash
2
3
+_python_argcomplete() {
4
+ local IFS='\013'
5
+ COMPREPLY=( $(IFS="$IFS" \
6
+ COMP_LINE="$COMP_LINE" \
7
+ COMP_POINT="$COMP_POINT" \
8
+ _ARGCOMPLETE_COMP_WORDBREAKS="$COMP_WORDBREAKS" \
9
+ _ARGCOMPLETE=1 \
10
+ "$1" 8>&1 9>&2 1>/dev/null 2>/dev/null) )
11
+ if [[ $? != 0 ]]; then
12
+ unset COMPREPLY
13
+ fi
14
+}
15
+
16
17
18
+# SHELLNAME=`lsof -p $$ | awk '(NR==2) {print $1}'`
19
20
+# if [ $SHELLNAME = "bash" ]; then
21
+# elif [ $SHELLNAME = "zsh" ]; then
22
+# elif [ $SHELLNAME = "tcsh" ]; then
23
+# fi
24
25
eval "$(register-python-argcomplete tmuxp)"
0 commit comments