rename
This commit is contained in:
parent
4bca412800
commit
50116c99af
|
|
@ -9,7 +9,7 @@ in {
|
|||
u.bin = with pkgs;
|
||||
{
|
||||
edit = [];
|
||||
sh-tmux = [tmux];
|
||||
auto-tmux = [tmux];
|
||||
sm = [];
|
||||
}
|
||||
// lib.optionalAttrs config.u.has.graphical {
|
||||
|
|
|
|||
|
|
@ -6,9 +6,9 @@ local parent="$(ps -o command= -p "$PPID" | cut -f1 -d' ')"
|
|||
if [[ "$parent" == *alacritty ]]; then
|
||||
if [[ -z "$TMUX" && -z "$NOTMUX" ]]; then
|
||||
if [[ "$PWD" == "$HOME" ]]; then
|
||||
exec sh-tmux
|
||||
exec auto-tmux
|
||||
else
|
||||
exec sh-tmux -n
|
||||
exec auto-tmux -n
|
||||
fi
|
||||
fi
|
||||
# set shell level
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ bind m resize-pane -Z
|
|||
|
||||
# detach (sends signal to parent process to exec shell)
|
||||
unbind d
|
||||
bind d run 'sh-tmux -d'
|
||||
bind d run 'auto-tmux -d'
|
||||
set -g update-environment SH_TMUX_PID
|
||||
|
||||
bind C-u copy-mode \; send C-u
|
||||
|
|
|
|||
Loading…
Reference in a new issue