JACoders / OpenJK

Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software
GNU General Public License v2.0
2.04k stars 617 forks source link

[Shared] Add exit command as an alias to quit #1220

Open Razish opened 9 months ago

Razish commented 9 months ago

I can't tell you how many times I've tried to close a server with exit like most other CLI programs, interpreters, shells etc.

Quality of life for a goober like me :sparkles:

Razish commented 9 months ago

Note there's a slight QoL decrease because ex<TAB> no longer completes to exec :thinking: I'll leave this to the masses to decide which is better.

Razish commented 9 months ago

We could also argue that ex<TAB> for exec is only saving 1 keystroke (c). Not likely to end the world.

taysta commented 9 months ago

We could also argue that ex<TAB> for exec is only saving 1 keystroke (c). Not likely to end the world.

Maybe over the top but in my fork I added a cvar for the exit command, default to on. I advised the few who complained about it interrupting their exec muscle memory to disable the exit command with the cvar.

Razish commented 8 months ago

I guess that works, but it's not worth the additional complexity to me. We go all-in or we don't add it at all IMO.

xiaoxiao921 commented 3 months ago

I just write qui gon jinn in the console and it works

ensiform commented 3 months ago

I just write qui gon jinn in the console and it works

Unsupported in openjk 😂