You *can* put it in .bashrc. As to whether it's advisable depends on your religious convictions :)
Many programs rely on 8-space tabstops to format their output and will break with 4-space tabstops. If your program relies on 4-space, but is run on a system configured for 8, it will look broken. If you're OK with this, then go for it, put that command in your .bashrc and revel in your 4-space glory! On Wed, May 19, 2010 at 12:21:37PM -0700, Jeremy Leonard wrote: > Thanks for the help. Now does the 'setterm -regtabs 4' get put > into .bashrc? > > > Python does allow tabs, you just need to be consistent about what your > > tab level is made up of (i.e. if you use a tab to enter a tab level, the > > next line can't use spaces). I find the whitespace dependency is fine as > > long as you don't switch editors, and don't let anyone else touch your > > code :) (different editors have different ideas about how to help you > > indent). > > > > As for bash using a 4-space tabstop, 'setterm -regtabs 4' should do it. > > > > application_pgp-signature_part > > < 1KViewDownload > > -- > You received this message because you are subscribed to the Linux Users Group. > To post a message, send email to [email protected] > To unsubscribe, send email to [email protected] > For more options, visit our group at > http://groups.google.com/group/linuxusersgroup
pgpFUetgJIJqm.pgp
Description: PGP signature
