mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-11-24 13:58:48 +00:00
parent
cb6e31e12f
commit
6fe70853a5
@ -8,6 +8,7 @@
|
|||||||
content history
|
content history
|
||||||
- refactoring: drop dependency on `paste` command
|
- refactoring: drop dependency on `paste` command
|
||||||
- bugfix for pane contents restoration
|
- bugfix for pane contents restoration
|
||||||
|
- expand tilde char `~` if used with `@resurrect-dir`
|
||||||
|
|
||||||
### v2.4.0, 2015-02-23
|
### v2.4.0, 2015-02-23
|
||||||
- add "tmux-test"
|
- add "tmux-test"
|
||||||
|
@ -74,7 +74,8 @@ is_session_grouped() {
|
|||||||
# path helpers
|
# path helpers
|
||||||
|
|
||||||
resurrect_dir() {
|
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() {
|
resurrect_file_path() {
|
||||||
|
Loading…
Reference in New Issue
Block a user