Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I typically have a set of shell scripts with no extensions. Something like:

git-completion
git-flow
git-addremove
..etc..

All these script are written in bash. When I use Quicklook on them it shows a basic preview. The correct behavior for this script executables should be to display their source code.

How can this be achieved?

share|improve this question

migrated from stackoverflow.com May 30 '11 at 19:50

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer

up vote 2 down vote accepted

It looks like QLStephen does what you're asking for. (And boy, it sure has a handsome name)

QLStephen is an Apple OSX QuickLook plugin that lets you view plain text files without a file extension. It is useful for reading files like:

  • README
  • INSTALL
  • CHANGELOG
  • Makefile
  • Rakefile
  • CapFile

Screen shot of QLStephen viewing an executable "git-test" file

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.