Feature
- Bash now completes "rc:" with file names and "rc.data.location:" with folder names.
This commit is contained in:
committed by
Paul Beckingham
parent
9929dbb543
commit
2afb893b2a
@@ -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
|
||||||
;;
|
;;
|
||||||
+*)
|
+*)
|
||||||
|
|||||||
Reference in New Issue
Block a user