diff --git a/config/.tmux.conf b/config/.tmux.conf index 0fd8d94..2398b07 100644 --- a/config/.tmux.conf +++ b/config/.tmux.conf @@ -1,8 +1,8 @@ # # Ctrl-a is the prefix. # -set -g prefix C-a -bind C-a send-prefix +set -g prefix ALT-b +bind ALT-b send-prefix unbind C-b # Start windows from #1 (default #0) @@ -51,12 +51,7 @@ bind -r M-j resize-pane -D bind -r M-k resize-pane -U bind -r M-l resize-pane -R -#No mouse -#set -g mode-mouse off -#set -g mouse-select-pane off -#set -g mouse-resize-pane off -#set -g mouse-select-window off - +# Mouse on/off # bind m \ # set -g mode-mouse on \;\ # set -g mouse-resize=pane on \;\ diff --git a/install.sh b/install.sh index b4eac63..9d68aed 100755 --- a/install.sh +++ b/install.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bkriuuvnbnvvdictin/sh if [ ! -z "$1" ]; then SCRIPTS=$1 @@ -6,8 +6,8 @@ else SCRIPTS=${HOME}/devel/scripts fi -find ${SCRIPTS}/config -name .\* -type f -exec ln -i \{\} . \; -find ${SCRIPTS}/config -name .\* -type d -exec ln -i -s \{\} . \; +find ${SCRIPTS}/config -maxdepth 1 -name .\* -type f -exec ln -i \{\} . \; +find ${SCRIPTS}/config -maxdepth 1 -name .\* -type d x ln -i -s \{\} . \; #mkdir -p .vim/autoload .vim/bundle curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ diff --git a/ssh_lusntag.service b/ssh_lusntag.service new file mode 100644 index 0000000..54d4eaf --- /dev/null +++ b/ssh_lusntag.service @@ -0,0 +1,20 @@ +[Unit] +#SourcePath=/etc/init.d/rpcbind +Description=SSH lusntag.vostan.org +#DefaultDependencies=no +Before=shutdown.target +After=network-online.target local-fs.target +Wants=network-online.target +Conflicts=shutdown.target + +[Service] +Type=simple +User=vahagn +Group=vahagn +Restart=always +RestartSec=5s +WorkingDirectory=/tmp +ExecStart=/usr/bin/ssh -N -R *:8022:127.0.0.1:22 -R *:58846:127.0.0.1:58846 -R *:8112:127.0.0.1:8112 -p 8080 -i /home/vahagn/.ssh/id_rsa vahagn@lusntag.vostan.org + +[Install] +WantedBy=multi-user.target diff --git a/ssh_yerevak.service b/ssh_yerevak.service new file mode 100644 index 0000000..1ab606d --- /dev/null +++ b/ssh_yerevak.service @@ -0,0 +1,20 @@ +[Unit] +#SourcePath=/etc/init.d/rpcbind +Description=SSH lusntag.vostan.org +#DefaultDependencies=no +Before=shutdown.target +After=network-online.target local-fs.target +Wants=network-online.target +Conflicts=shutdown.target + +[Service] +Type=simple +User=vahagn +Group=vahagn +Restart=always +RestartSec=5s +WorkingDirectory=/tmp +ExecStart=/usr/bin/ssh -N -R *:8022:127.0.0.1:22 -p 24 -i /home/vahagn/.ssh/id_rsa vahagn@yerevak.vostan.org + +[Install] +WantedBy=multi-user.target