mirror of
https://gitlab.com/vindarel/ciel.git
synced 2026-03-15 11:11:05 -07:00
scripts: allow scripts with or without a shebang line
We strip the shebang line out, if there is one, so than the same .lisp file can be called with ciel -s <name>.lisp or ./name
This commit is contained in:
parent
ef9ef8d72e
commit
49b7f1a7bc
3 changed files with 9 additions and 6 deletions
2
src/scripts/quicksearch.lisp
Normal file → Executable file
2
src/scripts/quicksearch.lisp
Normal file → Executable file
|
|
@ -3,7 +3,7 @@
|
|||
;;;
|
||||
;;;
|
||||
;;; Run with:
|
||||
;;; $ ciel quicksearch keyword
|
||||
;;; $ ciel -s quicksearch keyword
|
||||
;;;
|
||||
;;; or add a shebang line and make this script executable.
|
||||
;;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue