mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-12-23 23:48:51 +00:00
Changed to fit ISO8601
See https://github.com/tmux-plugins/tmux-resurrect/pull/272#issuecomment-419934801
This commit is contained in:
parent
8b504d4b06
commit
71b93407f2
@ -112,7 +112,7 @@ _RESURRECT_DIR="$(resurrect_dir)"
|
||||
|
||||
resurrect_file_path() {
|
||||
if [ -z "$_RESURRECT_FILE_PATH" ]; then
|
||||
local timestamp="$(date +"%Y-%m-%dT%H-%M-%S")"
|
||||
local timestamp="$(date +"%Y%m%dT%H%M%S")"
|
||||
echo "$(resurrect_dir)/${RESURRECT_FILE_PREFIX}_${timestamp}.${RESURRECT_FILE_EXTENSION}"
|
||||
else
|
||||
echo "$_RESURRECT_FILE_PATH"
|
||||
|
Loading…
Reference in New Issue
Block a user