Skip to content

kurth4cker/editor-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

edit

Simple wrapper script for keeping your hands friendly. It just exec's $EDITOR if set. Otherwise it fallbacks to vi command, which is standard editor.

Usability Note: I think simply setting the $EDITOR environment variable is more simple and usefull. So.. You probably would never need such a script.

Installation

Requirements

Default compilation requires:

  • Standard POSIX tools (cp, mv etc.)
  • POSIX make
  • scdoc (optional, for manpage)

Building

Set your variables in Makefile and just run:

# default installation
make
# if necessary as root
make install

Or optionally place edit.sh in your $PATH manually.

Usage

See edit(1) manpage.

Copying

Licensed under ISC License. See file COPYING for details.

About

[MIRROR] Exec GUI or CLI editor

Topics

Resources

License

Stars

Watchers

Forks