Source AUTHENTICATION file instead of commands
This commit is contained in:
parent
758c9ec5f5
commit
f3f8b5e383
@ -39,9 +39,7 @@ if-shell -b 'test -n $TMUX' {
|
||||
# Fourth window named **git** in main repos directory
|
||||
new-window -d -ngit -c '/home/jegardai/repos'
|
||||
# Fifth window for authentication tools
|
||||
new-window -nAuth 'gpg --quiet --for-your-eyes-only --decrypt ~/.password-store/test.gpg ; logout'
|
||||
split-window -h 'ssh-add -l | grep -qi -- "(ed25519)" || ssh-add ~/.ssh/id_ed25519 ; logout'
|
||||
set-window-option synchronize-panes on
|
||||
source-file $HOME/.tmux/splitAUTHENTICATION
|
||||
|
||||
# Default pane should be toto:5.2
|
||||
#select-pane -ttoto:5.2
|
||||
|
@ -47,9 +47,7 @@ if-shell -b 'test -n $TMUX' {
|
||||
new-window -nAPT 'sudo apt update ; test $(apt list --upgradable 2>/dev/null | wc --lines) -gt 1 && { sudo aptitude full-upgrade ; sudo aptitude clean } ; logout'
|
||||
|
||||
# Fourth window for authentication tools
|
||||
new-window -nAuth 'gpg --quiet --for-your-eyes-only --decrypt ~/.password-store/test.gpg ; logout'
|
||||
split-window -h 'ssh-add -l | grep -qi -- "(ed25519)" || ssh-add ~/.ssh/id_ed25519 ; logout'
|
||||
set-window-option synchronize-panes on
|
||||
source-file $HOME/.tmux/splitAUTHENTICATION
|
||||
|
||||
# Default pane should be jd:4.2
|
||||
#select-pane -tjd:4.2
|
||||
|
Loading…
Reference in New Issue
Block a user