Auto commit: 2024-11-09 23:12:01
This commit is contained in:
parent
8d2e4bf382
commit
309c358259
3 changed files with 8 additions and 4 deletions
|
@ -49,11 +49,12 @@ bind S command-prompt -p "rename session:" "rename-session '%%'"
|
||||||
# bind W command-prompt -p "rename window:" "rename-window '%%'"
|
# bind W command-prompt -p "rename window:" "rename-window '%%'"
|
||||||
bind - copy-mode
|
bind - copy-mode
|
||||||
# bind m next-layout
|
# bind m next-layout
|
||||||
|
bind -n M-i next-window
|
||||||
|
bind -n M-m previous-window
|
||||||
|
|
||||||
# Joining and sending
|
# Joining and sending
|
||||||
bind-key j command-prompt -p "join pane from:" "join-pane -s '%%'"
|
# bind-key j command-prompt -p "join pane from:" "join-pane -s '%%'"
|
||||||
bind-key s command-prompt -p "send pane to:" "join-pane -t '%%'"
|
# bind-key s command-prompt -p "send pane to:" "join-pane -t '%%'"
|
||||||
# bind -n S-Left previous-window
|
# bind -n S-Left previous-window
|
||||||
# bind -n S-Right next-window
|
# bind -n S-Right next-window
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,8 @@ if [[ -n $(yadm status --porcelain) ]]; then
|
||||||
yadm commit -m "Auto commit: $(date +'%Y-%m-%d %H:%M:%S')"
|
yadm commit -m "Auto commit: $(date +'%Y-%m-%d %H:%M:%S')"
|
||||||
# Check if the ssh-agent env is present
|
# Check if the ssh-agent env is present
|
||||||
if [ -f ~/.ssh/environment-dpad ]; then
|
if [ -f ~/.ssh/environment-dpad ]; then
|
||||||
source "$HOME/.ssh/environment-dpad"
|
# source "$HOME/.ssh/environment-dpad"
|
||||||
|
source "$HOME/.ssh/environment-$(cat /etc/hostname)"
|
||||||
yadm push
|
yadm push
|
||||||
else
|
else
|
||||||
echo "ERROR: ssh-agent environment not found, aborting push..."
|
echo "ERROR: ssh-agent environment not found, aborting push..."
|
||||||
|
|
2
.config/yadm/config
Normal file
2
.config/yadm/config
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[pull]
|
||||||
|
rebase = false
|
Loading…
Add table
Add a link
Reference in a new issue