mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-12-26 01:28:49 +00:00
parent
cb6e31e12f
commit
6fe70853a5
@ -8,6 +8,7 @@
|
||||
content history
|
||||
- refactoring: drop dependency on `paste` command
|
||||
- bugfix for pane contents restoration
|
||||
- expand tilde char `~` if used with `@resurrect-dir`
|
||||
|
||||
### v2.4.0, 2015-02-23
|
||||
- add "tmux-test"
|
||||
|
@ -74,7 +74,8 @@ is_session_grouped() {
|
||||
# path helpers
|
||||
|
||||
resurrect_dir() {
|
||||
echo $(get_tmux_option "$resurrect_dir_option" "$default_resurrect_dir")
|
||||
local path="$(get_tmux_option "$resurrect_dir_option" "$default_resurrect_dir")"
|
||||
echo "${path/#\~/$HOME}" # expands tilde if used with @resurrect-dir
|
||||
}
|
||||
|
||||
resurrect_file_path() {
|
||||
|
Loading…
Reference in New Issue
Block a user