alias question

fredg1

Member
What happens if you make an alias, then, later on, a GCLI command is implemented with the same trigger as your alias?
 

xKiv

Active member
AFAIK, aliases are replaced first, as a "preprocessing" step.

Try not to set an alias for "alias", you could end up having to edit your settings/GLOBAL_aiiases.txt
 

fredg1

Member
"unalias" works for that, since the cli checks for spaces on both sides of the word (wasn't like that originally, phew) (btw, unalias doesn't return whether or not it was successful, could be changed?), but yeah, that answers my question, thx
 

sergeydrn

New member
"unalias" works for that, since the cli checks for spaces on both sides of the word (wasn't like that originally, phew) (btw, unalias doesn't return whether or not it was successful, could be changed?), but yeah, that answers my question, thx

Could you please give the link to the detailed guide how to use alias/unalias? Thanks!
 

fronobulax

Developer
Staff member
Could you please give the link to the detailed guide how to use alias/unalias? Thanks!

Start here. https://wiki.kolmafia.us/index.php?title=Alias

As a general rule, if something is documented it is likely to be on the wiki https://wiki.kolmafia.us/index.php?title=Main_Page

As another general rule, the quality of the documentation is inconsistent - some things are are undocumented and other things are out of date or don't reflect the current state. But the wiki is maintained by KoLmafia.us users so feel free to help ;-)
 
Top