mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Feature
- Bash now completes "rc:" with file names and "rc.data.location:" with folder names.
This commit is contained in:
parent
9929dbb543
commit
2afb893b2a
1 changed files with 20 additions and 0 deletions
|
@ -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
|
||||||
;;
|
;;
|
||||||
+*)
|
+*)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue