Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/psachin/insert-shebang
An extension to insert shebang line for GNU Emacs
https://github.com/psachin/insert-shebang
emacs-lisp
Last synced: 3 months ago
JSON representation
An extension to insert shebang line for GNU Emacs
- Host: GitHub
- URL: https://github.com/psachin/insert-shebang
- Owner: psachin
- License: gpl-3.0
- Created: 2013-08-22T20:23:18.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2020-12-03T16:49:59.000Z (over 3 years ago)
- Last Synced: 2024-04-16T01:26:37.499Z (3 months ago)
- Topics: emacs-lisp
- Language: Emacs Lisp
- Homepage: http://psachin.github.io/insert-shebang
- Size: 105 KB
- Stars: 29
- Watchers: 2
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: ReadMe.org
- Changelog: ChangeLog
- License: COPYING
Lists
- awesome - insert-shebang - An extension to insert shebang line for GNU Emacs (Emacs Lisp)
README
Please visit [[https://gitlab.com/psachin/insert-shebang][GitLab.com/psachin/insert-shebang]] for updates.
* insert-shebang [[https://travis-ci.org/psachin/insert-shebang.png?branch=master][https://travis-ci.org/psachin/insert-shebang.png]] [[https://gitter.im/psachin/insert-shebang?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge][https://badges.gitter.im/psachin/insert-shebang.svg]]
Insert shebang line automatically for Emacs.** Clone
Clone this repository
#+BEGIN_SRC shell
git clone https://gitlab.com/psachin/insert-shebang.git
#+END_SRC** Install
*** Melpa-stable: [[http://stable.melpa.org/#/insert-shebang][file:http://stable.melpa.org/packages/insert-shebang-badge.svg]] [[http://marmalade-repo.org/packages/insert-shebang][Marmalade]]
#+BEGIN_SRC emacs-lisp
M-x package-install RET insert-shebang RET
#+END_SRC*** Manual install
- Add directory containing =insert-shebang.el= file to =load-path= in your
=~/.emacs= file. For example:
#+BEGIN_SRC emacs-lisp
(add-to-list 'load-path "/path/to/insert-shebang/")
#+END_SRC- To load a package, add:
#+BEGIN_SRC emacs-lisp
(require 'insert-shebang)
#+END_SRC- Optionally, run =make= to byte-compile the file.
** Customize
Customize using:
#+BEGIN_SRC emacs-lisp
M-x customize-group RET insert-shebang RET
#+END_SRC*** Env Path
Defines path to =env=. Default is =/usr/bin/env=.*** File Types
Defines file types.*** Custom Headers
*insert-shebang* can be extended to insert header for C, C++ and
FORTRAN programs etc.*** Ignore Extensions
Set file types(using extensions) you want to ignore.*** Ignored Filename
Files ignored during the prompt are stored with their full-path
in =~/.insert-shebang.log= file. Set to *nil* if you want to
disable this feature.You can visit this log file using:
#+BEGIN_SRC emacs-lisp
M-x insert-shebang-open-log-buffer
#+END_SRC** Contribute
- Feel free to send a [[https://docs.gitlab.com/ee/user/project/merge_requests/][Merge Request]]
- Create new issues
- Make sure to run tests before sending a Merge Request:
#+BEGIN_SRC shell
make test
#+END_SRC** License
- See [[https://github.com/psachin/insert-shebang/blob/master/COPYING][COPYING]]