aboutsummaryrefslogtreecommitdiff
path: root/libexec/recit-add-entry
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xlibexec/recit-add-entry4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/recit-add-entry b/libexec/recit-add-entry
index 078000e..322472f 100755
--- a/libexec/recit-add-entry
+++ b/libexec/recit-add-entry
@@ -61,11 +61,11 @@ fi
if [[ "$project" = "" ]]; then
- recins --verbose -f Id -v "$uuid" -f Time -v "$fmt_date" -f Notes -v "$notes" -t Entry "${recfile}"
+ recins --verbose -f Id -v "$uuid" -f Time -v "$fmt_date" -f Notes -v "$notes" -f Context -v "$PWD" -t Entry "${recfile}"
echo "$uuid"
else
if recsel -t Project -p Id ${recfile} | grep "$project" > /dev/null; then
- recins --verbose -f Id -v "$uuid" -f Time -v "$fmt_date" -f Notes -v "$notes" -f ProjectRef -v "$project" -t Entry "${recfile}"
+ recins --verbose -f Id -v "$uuid" -f Time -v "$fmt_date" -f Notes -v "$notes" -f Context -v "$PWD" -f ProjectRef -v "$project" -t Entry "${recfile}"
echo "$uuid"
else
echo "$project not found, list of available projects:"