This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # cursor.fish — Fish Shell function to launch Cursor AI Editor | |
| # | |
| function cursor | |
| # List of possible locations for the Cursor executable | |
| set -l possible_paths \ | |
| /usr/bin/cursor \ | |
| /usr/local/bin/cursor \ | |
| /opt/cursor/cursor \ | |
| $HOME/.local/bin/cursor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Fish Shell Function: clone_worktree | |
| # | |
| # Clone a git repository as a bare repo with a worktree setup | |
| # | |
| # Installation: | |
| # Save this file to: ~/.config/fish/functions/clone_worktree.fish | |
| # Fish will automatically load functions from this directory. | |
| # | |
| # Setup Instructions: | |
| # 1. Create a bash wrapper in your bin folder (e.g., ~/bin/git-clone-worktree.sh): |
OlderNewer