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?

link|improve this question
feedback

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

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

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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