]> git.pld-linux.org Git - packages/bash-completion.git/commitdiff
- unfinished --sn completion
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 8 Feb 2006 16:26:14 +0000 (16:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bash-completion-poldek.sh -> 1.4

bash-completion-poldek.sh

index 34fee937ddd3504d487c18dfe91c90988a766bc0..2e9c9db512f7cc4768e52a09f95d743bdd2e79ea 100644 (file)
@@ -10,6 +10,14 @@ _poldek()
        cur=${COMP_WORDS[COMP_CWORD]}
        prev=${COMP_WORDS[COMP_CWORD-1]}
 
+#      needs to be elsewhere otherwise mode stays to --sn ;(
+#      case "$prev" in
+#      -@(n|-sn))
+#              COMPREPLY=( $( poldek -l | awk "/^$cur/{print \$1}" ) )
+#              return 0
+#              ;;
+#      esac
+
        if [ $COMP_CWORD -eq 1 ]; then
                # first parameter on line
                case "$cur" in
This page took 0.076304 seconds and 4 git commands to generate.