mirror of
https://codeberg.org/leana8959/.files.git
synced 2026-02-03 23:49:40 +00:00
fix(tmux): use tilda as home directory
ref: https://github.com/sharkdp/fd/discussions/1424#discussioncomment-7706716
This commit is contained in:
parent
0528f9ea29
commit
4e37332ee8
2 changed files with 5 additions and 2 deletions
|
|
@ -12,6 +12,7 @@ function tmux_attach --description "attach to existing tmux sessions"
|
|||
end
|
||||
|
||||
set -U TMUX_LAST (tmux display-message -p '#S')
|
||||
|
||||
if [ -z $TMUX ]
|
||||
tmux attach-session -t $selected
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue