Skip to content

Instantly share code, notes, and snippets.

View morimori's full-sized avatar

Takatoshi MORIYAMA morimori

View GitHub Profile
@morimori
morimori / secuedit.sh
Created April 6, 2009 11:18 — forked from krayinc/lock.sh
ファイルを作成・編集する際に、ロード前の復号、セーブ後の暗号化を自動で行う
#! /bin/sh
if [ -z "$EDITOR" ]; then
echo "EDITOR is not set."
exit 1
fi
TMPFILE="${TMPDIR}secuedit.$$"
NEW=0