Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/.jp/**/QUERY_MESSAGE.md
/.jp/conversations/.trash
# Conversations, until encrypted.
# /.jp/conversations/*
!/.jp/conversations/17462040864/

# Rust specific
**/target
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1294,7 +1294,6 @@
},
"style": {
"code": {
"theme": "base16-mocha.dark",
"color": true,
"line_numbers": false,
"file_link": "osc8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,6 @@
},
"style": {
"code": {
"theme": "base16-mocha.dark",
"color": true,
"line_numbers": false,
"file_link": "osc8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,6 @@
},
"style": {
"code": {
"theme": "base16-mocha.dark",
"color": true,
"line_numbers": false,
"file_link": "osc8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1215,7 +1215,6 @@
},
"style": {
"code": {
"theme": "base16-mocha.dark",
"color": true,
"line_numbers": false,
"file_link": "osc8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1579,7 +1579,6 @@
},
"style": {
"code": {
"theme": "base16-mocha.dark",
"color": true,
"line_numbers": false,
"file_link": "osc8",
Expand Down
8 changes: 6 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ commit *ARGS: _install-jp
if starts_with "-- " "$@"; then
elif starts_with "-" "$@" && ! contains "-- " "$@"; then
args="$* -- $msg"
elif [ -n "$args" ]; then
args="$msg\n\n Here is additional context: $args"
elif [ -z "$args" ]; then
args="$msg"
fi
Expand All @@ -107,7 +109,7 @@ stage *ARGS: _install-jp
elif starts_with "-" "$@" && ! contains "-- " "$@"; then
args="$* -- $msg"
elif [ -n "$args" ]; then
args="$msg Here is additional context: $args"
args="$msg\n\n Here is additional context: $args"
elif [ -z "$args" ]; then
args="$msg"
fi
Expand Down Expand Up @@ -136,13 +138,15 @@ profile-heap *ARGS:
rfd-this *ARGS: _install-jp
#!/usr/bin/env sh
args="$@"
msg="I gave you the RFD skill, use it to codify all that we just discussed and concluded in a feature request RFD"
msg="I gave you the RFD skill, use it to codify all that we just discussed and concluded in a feature request RFD."

starts_with() { case $2 in "$1"*) true;; *) false;; esac; }
contains() { case $2 in *"$1"*) true;; *) false;; esac; }
if starts_with "-- " "$@"; then
elif starts_with "-" "$@" && ! contains "-- " "$@"; then
args="$* -- $msg"
elif [ -n "$args" ]; then
args="$msg\n\n Here is additional context: $args"
elif [ -z "$args" ]; then
args="$msg"
fi
Expand Down
Loading