dotfiles

Cross platform dotfiles for linux, mac and windows
git clone git@getsh.org:dotfiles.git
Log | Files | Refs

commit f3b36aaa04ac0bb6f159199c45e1ee77dff00855
parent 480e22c76d2fda05db3fe81fb0272999521f15b2
Author: Bharatvaj <bharatvaj@yahoo.com>
Date:   Fri,  6 Jan 2023 02:48:43 +0530

Exit if no selection is made

Diffstat:
M.local/bin/cmd/spot.cmd | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/.local/bin/cmd/spot.cmd b/.local/bin/cmd/spot.cmd @@ -14,6 +14,7 @@ if exist %s_tmpfile% goto:s_tmploop wmenu.exe -e %row% | more > "!s_tmpfile!" set /p c_tmpfile=<!s_tmpfile! +if not exist "%c_tmpfile%" exit del /f !s_tmpfile! start "%c_tmpfile%" "%c_tmpfile%" endlocal