summaryrefslogtreecommitdiff
path: root/xsh
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2011-03-15 13:39:58 +0100
committerJonas Smedegaard <dr@jones.dk>2011-03-15 13:39:58 +0100
commitd3b2f6fcf263f0a460ab5e0083f0eac9742a0626 (patch)
tree503472f21ad48d92ab6c14098db231697eb32f5d /xsh
parentbe3ef2bc15658e792e7294324078290008743699 (diff)
Fix bashisms: superfluous leading function keyword. Thanks to 'themill'.
Diffstat (limited to 'xsh')
-rwxr-xr-xxsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/xsh b/xsh
index 8a13134..d6273d4 100755
--- a/xsh
+++ b/xsh
@@ -2,11 +2,11 @@
SCRIPT=$(basename $0)
-function usage () {
+usage() {
echo "Usage: $SCRIPT [--x] [--verbose] [[--su |{user}@]{host}] [--] [remote command...]"
}
-function termwrapper () {
+termwrapper() {
PRG=$@
titletext="$title $titleopt"
if [ "$V" = 1 ]; then