From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 092461a4 for ; Wed, 13 Nov 2019 10:56:07 +0000 (UTC) Received: (qmail 13703 invoked by alias); 13 Nov 2019 10:55:59 -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: List-Unsubscribe: X-Seq: 24421 Received: (qmail 2886 invoked by uid 1010); 13 Nov 2019 10:55:58 -0000 X-Qmail-Scanner-Diagnostics: from h-k.fr by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.0/25628. spamassassin: 3.4.2. Clear:RC:0(37.187.30.95):SA:0(-1.9/5.0):. Processed in 2.581952 secs); 13 Nov 2019 10:55:58 -0000 X-Envelope-From: seb@h-k.fr X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at h-k.fr designates 37.187.30.95 as permitted sender) X-Virus-Scanned: Debian amavisd-new at h-k.fr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=h-k.fr; s=mail; t=1573642518; bh=rZQiVhq5GxdpF7G5JPqoN8MehUkn1nw0N/J6F4+Ygd4=; h=Date:From:To:Subject:From; b=YrhNnkb0KTiXPb+APfH54llxyYKd2mXf/EYFJPQ1i6ldCJjP577J/K2f319FMIdUh a2sbJDffH2si0GEWB6GlqxKRavP4BDiZ+O7oxec+aFSMApyn/iDk4uY7ek50o9Xy5i gWQ1EGMrRVVryi0jfDoxhdLkp8b7hbfiOcnP3U1Q= Date: Wed, 13 Nov 2019 11:55:18 +0100 (CET) From: Seb To: zsh-users@zsh.org Subject: CHASE_LINKS and PS1 Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="-1155178722-1111452416-1573642518=:8013" ---1155178722-1111452416-1573642518=:8013 Content-Type: text/plain; format=flowed; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Hi, Setting the option CHASE_LINKS disables the %~ shortcut in PS1: ~/tmp> export PS1="%~> " ~/tmp> mkdir sd ~/tmp> cd sd && cd - ~/tmp ~/tmp> setopt CHASE_LINKS ~/tmp> cd sd && cd - /raid/home/seb/tmp /raid/home/seb/tmp> This is unfortunate. Is it a feature or a bug? If a feature, is there a way around it? I'd like both CHASE_LINKS and %~. I searched the ML's archive, the manual and the guide but did not find enlightenment. Kind regards, Sébastien. ---1155178722-1111452416-1573642518=:8013--