From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22079 invoked by alias); 14 Oct 2014 17:18:04 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19253 Received: (qmail 1101 invoked from network); 14 Oct 2014 17:17:52 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-Authority-Analysis: v=2.1 cv=HYUtEE08 c=1 sm=1 tr=0 a=/ugl2wLTUB9YkCDsaotiaA==:117 a=/ugl2wLTUB9YkCDsaotiaA==:17 a=sicYhokT53YA:10 a=N659UExz7-8A:10 a=zcvcjASNOdBZ8IlEw4IA:9 a=pILNOxqGKmIA:10 Message-id: <543D5B45.1000808@eastlink.ca> Date: Tue, 14 Oct 2014 10:20:05 -0700 From: Ray Andrews User-Agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.0 MIME-version: 1.0 To: zsh-users@zsh.org Subject: combining .histfiles References: <54397CC0.9070206@eastlink.ca> <141011131053.ZM28143@torch.brasslantern.com> <5439A54A.9060304@eastlink.ca> <141011150111.ZM28417@torch.brasslantern.com> <5439CB82.3070401@eastlink.ca> <87h9z7dc91.fsf@lwm.klanderman.net> <543C4C85.2060807@eastlink.ca> In-reply-to: <543C4C85.2060807@eastlink.ca> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit Bart, .histfiles files merged fine, all good, except that somewhere along the line I managed to do this: . ~/.histfile and it merrily started executing everything in my history. Nothing would stop it until I jumped under my desk and pulled out the computer's plug. Is this safe? It didn't occur to me that the history file could be executed, should it be? Anyway, thankfully the oldest commands in .histfile were slow copyings that did no harm, so I'm undamaged, but I hafta wonder .... And how does one stop this kind of thing once it gets going short of pulling out the plug?