about summary refs log tree commit diff stats
path: root/home-manager/config/lf/cmds/mk_file.sh
blob: 044016a61989858c3d80813b032e4b24d75fe808 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh
# shellcheck disable=SC2086
# shellcheck source=/dev/null
. ~/.local/lib/shell/lib


readp "File Name: " name
$EDITOR "$name"


if [ -d /tmp/LIB_FILE_TEMP_DIR/ ];then rm -r /tmp/LIB_FILE_TEMP_DIR/; fi