From 1fa67146607967fa2718ffd89512a7649ede1ba1 Mon Sep 17 00:00:00 2001 From: Guillaume Chazarain Date: Sat, 17 May 2008 18:22:50 +0200 Subject: [PATCH] Do not load profiles by default, to avoid polluting the history --- gsh/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gsh/main.py b/gsh/main.py index 514ed00..d2c252a 100644 --- a/gsh/main.py +++ b/gsh/main.py @@ -60,9 +60,9 @@ def parse_cmdline(): parser.add_option('--command', type='str', dest='command', default=None, help='command to execute on the remote shells', metavar='CMD') - parser.add_option('--ssh', type='str', dest='ssh', - default='ssh -t %(host)s sh', metavar='SSH', - help='ssh command to use [ssh -t %(host)s sh]') + def_ssh = 'ssh -t %(host)s bash --noprofile' + parser.add_option('--ssh', type='str', dest='ssh', default=def_ssh, + metavar='SSH', help='ssh command to use [%s]' % def_ssh) parser.add_option('--log-file', type='str', dest='log_file', help='file to log each machine conversation [none]') parser.add_option('--abort-errors', action='store_true', dest='abort_error', -- 2.11.4.GIT