- Bash now completes "rc:" with file names and
  "rc.data.location:" with folder names.
This commit is contained in:
Scott Kostyshak 2012-10-29 15:08:11 -04:00 committed by Paul Beckingham
parent 9929dbb543
commit 2afb893b2a

View file

@ -117,6 +117,15 @@ _task()
fi fi
return 0 return 0
;; ;;
rc)
# not activated when only "rc:" but is activated if anything after "rc:"
_filedir
return 0
;;
rc.data.location)
_filedir -d
return 0
;;
esac esac
;; ;;
*) *)
@ -145,6 +154,17 @@ _task()
fi fi
return 0 return 0
;; ;;
rc)
# activated only when "rc:"
cur="" # otherwise ":" is passed.
_filedir
return 0
;;
rc.data.location)
cur=""
_filedir -d
return 0
;;
esac esac
;; ;;
+*) +*)