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.01k stars 614 forks source link

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

Open Razish opened 7 months ago

Razish commented 7 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 7 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 7 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 7 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 7 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 2 months ago

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

ensiform commented 2 months ago

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

Unsupported in openjk 😂