From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13085 invoked by alias); 13 Oct 2014 22:02:46 -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: 19249 Received: (qmail 22243 invoked from network); 13 Oct 2014 22:02:45 -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=CzY0kpuo1HkcYGdqyBUEUw==:117 a=CzY0kpuo1HkcYGdqyBUEUw==:17 a=sicYhokT53YA:10 a=N659UExz7-8A:10 a=57pq5DHWB7RFxL1rBQQA:9 a=pILNOxqGKmIA:10 Message-id: <543C4C85.2060807@eastlink.ca> Date: Mon, 13 Oct 2014 15:04:53 -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: Re: zsh 5.0.7 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> In-reply-to: <87h9z7dc91.fsf@lwm.klanderman.net> Content-type: text/plain; charset=windows-1252; format=flowed Content-transfer-encoding: 7bit On 10/13/2014 12:02 PM, Greg Klanderman wrote: Greg, One day, when I know what all that is going to do! For now, it seems fine to just edit the '/etc/alternative/zsh*' links. So far it hasn't hiccuped and should I need to, I can edit it back to '/usr/bin/zsh5' in case I think I've found a bug or something. > Hi Ray, on Debian, I build/install zsh as normal (not setting any > prefix path options, let it install in /usr/local/bin/zsh) then do > this: > > update-alternatives --install /bin/zsh zsh /usr/local/bin/zsh 100 \ > --slave /usr/bin/zsh zsh-usrbin /usr/local/bin/zsh > > and it will have /bin/zsh and /usr/bin/zsh point to your locally built > ones instead of the Debian provided packaged ones. > > i.e. /bin/zsh will be a link to /etc/alternatives/zsh which will be a > link to /usr/local/bin/zsh which you built. > > Normally, /etc/alternatives/zsh would be a link to /bin/zsh4 on wheezy > (zsh package 4.3.17-1), I presume /bin/zsh5 on testing or unstable. > > Greg >