Skip to content

Commit

Permalink
Add 'deshebang'
Browse files Browse the repository at this point in the history
  • Loading branch information
za3k committed Apr 24, 2016
1 parent e5aefd5 commit f1eea4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ delink
Usage: `delink FILE`. Removes a level of symlink, moving the symlink's target in place of the symlink. Can have bad side-effects, use with caution.
See also `mvln`

deshebang
---
Usage: `#!/usr/bin/env deshebang` at the top of a file, makes that file self-printing.

dzen-clock
---
Make a small clock at the bottom of the screen
Expand Down
2 changes: 2 additions & 0 deletions deshebang
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
tail -n +2 "$1"

0 comments on commit f1eea4b

Please sign in to comment.