mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2025-09-02 12:47:04 +00:00
Change plugin name and all the variables
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
#
|
||||
# Restores a vim session from 'Session.vim' file, if it exists.
|
||||
# If 'Session.vim' does not exist, it falls back to invoking the original
|
||||
# command (withouth the `-S` flag).
|
||||
# command (without the `-S` flag).
|
||||
|
||||
ORIGINAL_COMMAND="$1"
|
||||
DIRECTORY="$2"
|
||||
@ -21,7 +21,7 @@ main() {
|
||||
if vim_session_file_exists; then
|
||||
echo "vim -S"
|
||||
elif original_command_contains_session_flag; then
|
||||
# Session file does not exist, yet the orignal vim command contains
|
||||
# Session file does not exist, yet the original vim command contains
|
||||
# session flag `-S`. This will cause an error, so we're falling back to
|
||||
# starting plain vim.
|
||||
echo "vim"
|
||||
|
Reference in New Issue
Block a user