helm/home/profiles/cli/bin/clear-vim-trash.sh
2023-05-23 21:28:49 +10:00

6 lines
151 B
Bash
Executable file

#!/usr/bin/env bash
working_directory=$(pwd)
vim_directory="${working_directory//\//%}.vim"
trash "$HOME/.local/share/nvim/sessions/${vim_directory}"