diff options
| -rw-r--r-- | Rexfile | 11 | ||||
| -rw-r--r-- | cursor/slashcommands/commit-and-push-to-git.md (renamed from cursor/commands/commit-and-push-to-git.md) | 0 | ||||
| -rw-r--r-- | cursor/slashcommands/increment-version-and-push.md (renamed from cursor/commands/increment-version-and-push.md) | 0 |
3 files changed, 8 insertions, 3 deletions
@@ -145,10 +145,15 @@ task 'home_helix', sub { ensure "$DOT/helix/*" => "$HOME/.config/helix/" }; desc 'Install ~/.config/ghostty'; task 'home_ghostty', sub { ensure "$DOT/ghostty/*" => "$HOME/.config/ghostty/" }; -desc 'Install ~/.cursor'; -task 'home_cursor', sub { +desc 'Install slash commands for Cursor and Claude'; +task 'home_slashcommands', sub { + # Install to ~/.cursor/commands/ for Cursor file "$HOME/.cursor" => ensure => 'directory', mode => '0750'; - ensure "$DOT/cursor/commands/*" => "$HOME/.cursor/commands/", '0750'; + ensure "$DOT/cursor/slashcommands/*" => "$HOME/.cursor/commands/", '0750'; + + # Install to ~/.claude/commands/ for Claude Code global slash commands + file "$HOME/.claude" => ensure => 'directory', mode => '0750'; + ensure "$DOT/cursor/slashcommands/*" => "$HOME/.claude/commands/", '0750'; }; desc 'Install ~/scripts'; diff --git a/cursor/commands/commit-and-push-to-git.md b/cursor/slashcommands/commit-and-push-to-git.md index 42132bd..42132bd 100644 --- a/cursor/commands/commit-and-push-to-git.md +++ b/cursor/slashcommands/commit-and-push-to-git.md diff --git a/cursor/commands/increment-version-and-push.md b/cursor/slashcommands/increment-version-and-push.md index 015038b..015038b 100644 --- a/cursor/commands/increment-version-and-push.md +++ b/cursor/slashcommands/increment-version-and-push.md |
