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


readp "File Name: " ans
sudo $EDITOR "$ans"




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