From 1c43faeba96003d6a4b43e29f296c21693477242 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Wed, 20 Apr 2016 13:25:38 +0100 Subject: [PATCH] Remove non-posix expansion in autorestore.kak --- rc/extra/autorestore.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/extra/autorestore.kak b/rc/extra/autorestore.kak index 6c5b3da76..d310887bf 100644 --- a/rc/extra/autorestore.kak +++ b/rc/extra/autorestore.kak @@ -31,7 +31,7 @@ def autorestore-restore-buffer -docstring "Restore the backup for the current fi echo " hook -group autorestore global BufWritePost (.+/)?${kak_bufname} %{ nop %sh{ - if [ \"\${kak_opt_autorestore_purge_restored,,}\" = true ]; then + if [ \"\${kak_opt_autorestore_purge_restored}\" = true ]; then rm -f '${latest_backup_path}' fi }