summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-02 13:59:57 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-03-02 13:59:57 +0100
commit02e8453b05965f9fd88be9a5f9511158d1fa6b16 (patch)
treea5fb2ade4984d6bc7f6c5e7e535fbe00788c9ff9
parente0fc517f96aaf86e8348ecc5f063add9d18d5f1f (diff)
downloaddotfiles-02e8453b05965f9fd88be9a5f9511158d1fa6b16.tar.gz
dotfiles-02e8453b05965f9fd88be9a5f9511158d1fa6b16.tar.bz2
dotfiles-02e8453b05965f9fd88be9a5f9511158d1fa6b16.zip
start_remote_irssi: Exec the ssh process
That way we save one running process... Since we're replaced by the ssh..
-rwxr-xr-x.scripts/start_remote_irssi.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/.scripts/start_remote_irssi.sh b/.scripts/start_remote_irssi.sh
index 20a515a..248d90a 100755
--- a/.scripts/start_remote_irssi.sh
+++ b/.scripts/start_remote_irssi.sh
@@ -1,4 +1,3 @@
-#!/bin/bash
+#!/bin/sh
-ssh bnfr.net -t 'LANG="de_DE.UTF-8" screen -xr irssi'
-clear
+exec ssh bnfr.net -t 'LANG="de_DE.UTF-8" screen -xr irssi; clear'