Ignore:
Timestamp:
04/14/2006 13:27:23 (6 years ago)
Author:
ccowart
Message:

Makefile update for completions and a couple tweaks to the completions
themselves.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • confman/bash_completions

    r71 r72  
     1#! /bin/bash 
     2 
    13_confman()  
    24{ 
    35    local cur prev cmds twoback cmds fd_cmds mod_cmds chkpt_cmds 
    4         CONFMAN="/usr/local/rescomp/sbin/confman" 
     6    CONFMAN="/usr/local/rescomp/sbin/confman" 
    57    COMPREPLY=() 
    68    cur="${COMP_WORDS[COMP_CWORD]}" 
     
    3133        elif [ `expr "${mod_cmds}" : ".*\(${prev}\).*"` ] ; then 
    3234                CONFDIR="${REPO_PATH:-$HOME/src}/conf" 
    33                 local modules=$(ls $CONFDIR | grep -v checkpoints|tr '\n' ' ') 
     35                local modules=$(/bin/ls $CONFDIR | grep -v checkpoints|tr '\n' ' ') 
    3436                COMPREPLY=($(compgen -W "${modules}" -- ${cur})) 
    3537                return 0 
     
    6466   return 0 
    6567} 
     68 
    6669complete -F _confman confman 
     70 
Note: See TracChangeset for help on using the changeset viewer.