summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-01 21:48:47 +0200
committerPaul Buetow <paul@buetow.org>2026-02-01 21:48:47 +0200
commit055e323beb019eba39c583dc227a3f6547bdba43 (patch)
treef4fce97338d0b98e3894c2fad255ac8a04c3dbe6
parentad7aaf822c6a9565c01f5976fa4b3012aec6c4ec (diff)
add cursor commands
-rw-r--r--dotfiles/Rexfile6
-rw-r--r--dotfiles/cursor/commands/cap.md3
2 files changed, 9 insertions, 0 deletions
diff --git a/dotfiles/Rexfile b/dotfiles/Rexfile
index 839309e..4c1f5b0 100644
--- a/dotfiles/Rexfile
+++ b/dotfiles/Rexfile
@@ -145,6 +145,12 @@ 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 {
+ file "$HOME/.cursor" => ensure => 'directory', mode => '0750';
+ ensure "$DOT/cursor/commands/*" => "$HOME/.cursor/commands/", '0750';
+};
+
desc 'Install ~/scripts';
task 'home_scripts', sub { ensure "$DOT/scripts/*" => "$HOME/scripts/", '0750' };
diff --git a/dotfiles/cursor/commands/cap.md b/dotfiles/cursor/commands/cap.md
new file mode 100644
index 0000000..42132bd
--- /dev/null
+++ b/dotfiles/cursor/commands/cap.md
@@ -0,0 +1,3 @@
+# Commit and push to git
+
+Commit and push to git all changes you made.