summary refs log tree commit diff
path: root/bin/edit.sh
blob: c276707fd3d1af1d218f4789c932af3dac56c11c (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/sh
set -eu

script=$(mktemp)
trap "rm -f '$script'" EXIT

sed "s/.*/${1:-: &}/" >> "$script"
$EDITOR "$script"
sh -eux "$script"
src/commit/bin/hi.c?id=75dbab368bcbb6ed484e4d8ca9e6b3e1b3988b2d&follow=1'>Detect .mk files as makeJune McEnroe 2019-02-07Add make syntax to hiJune McEnroe 2019-02-07Add IRC output to hiJune McEnroe 2019-02-07Improve C syntax accuracy and add Format classJune McEnroe 2019-02-07Factor out hi checkJune McEnroe 2019-02-07Add Escape class to hiJune McEnroe 2019-02-07Add Todo class and parent syntax constraintJune McEnroe