pygments / pygments.rb

💎 Ruby wrapper for Pygments syntax highlighter
MIT License
572 stars 141 forks source link

Add common commands #111

Closed christianbundy closed 10 years ago

christianbundy commented 10 years ago

@tmm1 I'd like to add common commands like sudo, ls, ssh, chsh, sleep, hostname, domainname, whereami, etc. Where should I put these? I thought that the Bash builtin would be an inappropriate place for them. Thanks!

tmm1 commented 10 years ago

You'll need to submit changes to the bash lexer upstream:

https://bitbucket.org/birkenfeld/pygments-main/src/3e451a3806d9215bae592d9c28321076e5e046ef/pygments/lexers/shell.py?at=default https://bitbucket.org/birkenfeld/pygments-main/issues?component=lexers