From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3618 invoked from network); 15 Apr 2021 20:37:42 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 15 Apr 2021 20:37:42 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1618519062; b=pkAovkkunVFOr5XUN1LxIUhCBFueqwPI46y5Zp1cVy8MrLAkkOb2sd8mcOgY6UCMTEQc5mLiY1 wjEK1O0fVpIem7L+v/IgxdCWho1QkwLqgpLHPQ8wnl22sXb8YgWaTCA+vYoN4Wi3h4TNnl7fRh nVud7fiBXtAjivWieZwKRIc5eB2OMcnZftRnT/5rYmzPbTBg+lop9+oVCfyS8BYiexcL0dYSgn HNhBDBAyzAcD8QUx3bBTPoNPO0dmcj7LLvfqjRivshfWfLSM+lUfWEGF3LzobfYTk18+ItMfqu NbCgZhLLFTkOp8LkfTFmYJ4pgCD8uUx9JrlHwLpOFVSxkg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (out1-smtp.messagingengine.com) smtp.remote-ip=66.111.4.25; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm2 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1618519062; bh=pG6XlkU3eto3YOMBcqwVXSZTNC8JVyUEf7Jq7sc6G4w=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:DKIM-Signature: DKIM-Signature:DKIM-Signature; b=nyoVnPMij6YVbsmX7Vqa1KwVdDnEd7fobEY0KFQ/hy61ITjEmx7nrSSE/zqZKCu/F0jwQ97LVX gxLkWdgjRmdZKVUNh2ga3MD3gMcudKptU532pyDqkISwjU0N62/lPXBgwS2+wm4O7fRbqwPeug jnKIXBuencQgrvKwcxUzHLJP9YuRRqMjed2VpyTxlOVkUsucU5QT/fckavdZrRIWpMrKaQ0fLW Gu3ouvWITrIU+Yr8sRlOQUBc+gqMLxTQt2kH2T++KNaQRb8Lb7cVm0j3mc68tL13tEboLorgF1 PfHBpR8wBX01jxoV0JXA8eacWvBg0FLTNUaw4vgjj2uwcg==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:In-Reply-To:Content-Transfer-Encoding :Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID; bh=uSl73KxbGApzMOlmQeB7jzkLA4GpJT7xmn/AgYQ0Bq4=; b=XgIZjni2jOL9FeJDsyhTDKsMxF dJpu0NVM29K1QPPBHyblyC0M5bbGT0WEtp/1MljFQrgOdd7Xzhh+ldz+MLMtCsHB8p6YerKiDKmU7 SHRAjeEaRB2v9czD3hbitRtaEV3u9CDpf5uAtaTIk5VZey4OCrSXxGzqE56ihY1fg+RTjfzRmhVNT RQCjZo4eD2jgRe4GVQK/Lr60L3o3y1UAIAgGOTZU55nDFln4nyPrkn3jpdX5gyi0x/KDVGySBAut9 Fgu6D8X2eXRNtLAankMFAAThSppEKcHVNn0wl8prG4XtqFPig9ELvpa4JPfmYN7mJ5CI1iu2RP9Fq 8ulK6XMA==; Received: from authenticated user by zero.zsh.org with local id 1lX8k9-0000BF-Ng; Thu, 15 Apr 2021 20:37:41 +0000 Authentication-Results: zsh.org; iprev=pass (out1-smtp.messagingengine.com) smtp.remote-ip=66.111.4.25; dkim=pass header.d=daniel.shahaf.name header.s=fm3 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm2 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none Received: from out1-smtp.messagingengine.com ([66.111.4.25]:57977) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1lX8jc-000PWl-6d; Thu, 15 Apr 2021 20:37:08 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 7A8A15C009D; Thu, 15 Apr 2021 16:37:07 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute3.internal (MEProxy); Thu, 15 Apr 2021 16:37:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :references:mime-version:content-type:content-transfer-encoding :in-reply-to; s=fm3; bh=uSl73KxbGApzMOlmQeB7jzkLA4GpJT7xmn/AgYQ0 Bq4=; b=xTzED54gTGJpQaW+Fggdhw81vcAVc2czNRyxTrzjkcpJWGRBdcz5VDEl tttSR7S7t5jCAr1q3B6ZmLq/zQPgsbXw3me4ufF7xpzq3Ev0jputVC7AZ/Kpx17h lqzS1DnNWw91/fPAgh3FuHL6ujNCwJ8Fslv11XrXoSMh8bzL/EAHDWwB2PCxoWkX 9IiNin4/W0UVI+0j6Bo0vsmYjQ/AFgl+s8tRaKZwSMJqYwx4BpApAQiuE+XU9xNC Zzzk8fMAFbOT+DdRJA4YBxkxokVISv/+6yOC5/XnWzFyRrqgzVHAl7bAg+B2hHiL byftsn7RNPuRk4w9cxCJGeroLmnRrg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=uSl73KxbGApzMOlmQeB7jzkLA4GpJT7xmn/AgYQ0B q4=; b=YZY27E7/lqXi1AKikt+uGY5LTe9and91Uz3bKZxgBMJqGjs24q6+B82o0 5XJuLFM2woJaZcKfSKc1jm6IWXNWs6If0N4RGDN6pblN3EAhENyxzS22tYSZpMTQ Ee3Enwf42K4QPaOmEMLi4cfJtIYz7whw/yV5wrrxnihmM3DdjtyOy3Wx/cl6cPpF 3t1U0h3RR9Z9ujGjeme2hmkccDtG/d7Ypyw3YEYZA1wNUeQE3hrvAVhsV/0sqOwR MSMeLeeYb4otV+uyphOaJnXEMadb1YXFcyZwEawt/m8BmZ5l0A9qvo3f8tjO2GNi 4IBYWNNkH7V00QPHeo/Igq890jKEQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudelfedgudehiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvffukfhfgggtugfgjggfse htkedttddtreejnecuhfhrohhmpeffrghnihgvlhcuufhhrghhrghfuceougdrshesuggr nhhivghlrdhshhgrhhgrfhdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeevfeeggfeiff etfeffgfefkeeufeekkeelgfekheeiudfhvefhveeuueejhfevgfenucffohhmrghinhep shhouhhrtggvfhhorhhgvgdrnhgvthenucfkphepuddtledrieeirdeifedrvdeftdenuc evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegurdhssegu rghnihgvlhdrshhhrghhrghfrdhnrghmvg X-ME-Proxy: Received: from tarpaulin.shahaf.local2 (bzq-109-66-63-230.red.bezeqint.net [109.66.63.230]) by mail.messagingengine.com (Postfix) with ESMTPA id 0FAC7108005B; Thu, 15 Apr 2021 16:37:07 -0400 (EDT) Received: by tarpaulin.shahaf.local2 (Postfix, from userid 1005) id 4FLrjs5NrKz3dR; Thu, 15 Apr 2021 20:37:05 +0000 (UTC) Date: Thu, 15 Apr 2021 20:37:05 +0000 From: Daniel Shahaf To: Rudi C Cc: zsh-users@zsh.org Subject: Re: Is it possible to disable abbreviation of named directories? Message-ID: <20210415203705.GC6669@tarpaulin.shahaf.local2> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Seq: 26656 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Rudi C wrote on Thu, Apr 15, 2021 at 22:53:13 +0430: > Per 14.7.2 Static named directories at > http://zsh.sourceforge.net/Doc/Release/Expansion.html: > > When the shell prints a path (e.g. when expanding %~ in prompts or when > printing the directory stack), the path is checked to see if it has a named > directory as its prefix. If so, then the prefix portion is replaced with a ‘ > ~’ followed by the name of the directory. The shorter of the two ways of > referring to the directory is used, i.e. either the directory name or the > full path. > > > Is there a way to disable this? I like to see full paths when the shell > prints things. I want the named dirs because they are easier to type, not > because they are easier to read. How are you hashing the directories (with «hash -d» or with zsh_directory_name)? How are you printing them? E.g., for %~ in prompts there's %/ to use instead.