Created
October 5, 2024 14:47
-
-
Save wasdee/053431c2346c09c495516640f149e189 to your computer and use it in GitHub Desktop.
cursor remote-local binary to $EDITOR
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
if command -v cursor &> /dev/null; then | |
export EDITOR="$(command -v cursor) --wait" | |
export SUDO_EDITOR="$(command -v cursor) --wait" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment