Commit 09876ee9 authored by Nico Schottelius's avatar Nico Schottelius

add exec test script

parent d617cbcb
#!/bin/sh
host="home.schottelius.org"
pcmd()
{
if [ "$host" ]; then
ssh "$host" "$@"
else
"$@"
fi
}
pcmd ls /
pcmd cd /; ls "/is not there"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment