How to open cursor from terminal

Hey! Not an official answer, but I managed to get it working by creating a function in .bashrc or .zshrc that points to the .AppImage (I create a function instead of an alias in order to use arguments). I did it as follows:

On zsh:

function cursor {
        /home/user/path_to_appimage/Cursor.AppImage $@
}

On bash:

cursor() {
    /home/user/path_to_appimage/Cursor.AppImage "$@"
}

So far I have encountered no issues, since it works as the code command. For example, cursor . opens a window in the current directory or cursor file_1 file_2 file_3 opens all three files.

11 Likes