helm/home/profiles/cli/bin/clear-vim-trash.sh

6 lines
151 B
Bash
Raw Permalink Normal View History

2023-05-23 04:28:49 -07:00
#!/usr/bin/env bash
working_directory=$(pwd)
vim_directory="${working_directory//\//%}.vim"
trash "$HOME/.local/share/nvim/sessions/${vim_directory}"