Install custom shell command from terminal

I would like to rename it to ‘c’ instead of ‘code’ or ‘cursor’ to launch cursor in the terminal

Add alias c="cursor" to ~/.zshrc if you are using zsh shell, if you are using bash shell add it to ~/.bashrc or ~/.bash_profile, and if you are using fish shell add it to ~/.config/fish/config.fish`.

1 Like