mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-25 10:32:19 +03:00
Remove non-posix expansion in autorestore.kak
This commit is contained in:
parent
199ccb4021
commit
1c43faeba9
@ -31,7 +31,7 @@ def autorestore-restore-buffer -docstring "Restore the backup for the current fi
|
|||||||
echo "
|
echo "
|
||||||
hook -group autorestore global BufWritePost (.+/)?${kak_bufname} %{
|
hook -group autorestore global BufWritePost (.+/)?${kak_bufname} %{
|
||||||
nop %sh{
|
nop %sh{
|
||||||
if [ \"\${kak_opt_autorestore_purge_restored,,}\" = true ]; then
|
if [ \"\${kak_opt_autorestore_purge_restored}\" = true ]; then
|
||||||
rm -f '${latest_backup_path}'
|
rm -f '${latest_backup_path}'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user