From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27157 invoked by alias); 13 Feb 2015 15:05:47 -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: 19866 Received: (qmail 29624 invoked from network); 13 Feb 2015 15:05: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.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=L2Uag3KD5rvCg1QbebZ38qaxN2sRzhdeocYJxk0BzUE=; b=hLvAHEHAbykuBLYmXcpL6p29AJGHoE8u/7FlvMkP6tV90BUWMg60GH68TNlbt6wyPP hI9u2aq4Cq9aqtL8d20VV6R4kQeEM4jVArryr5evUjNxB4tHe8mjjNgp0M/jb35rJ+ze 3npQGZ1vuBTkfR+qs45bIpCTZVSi/WtpeF3wKQY7ArmNQsJRrNcOJlpUDSy/GU+BZ+ZJ dxeZx4ideV3mMZX7T0qOEoxzcpO9HeY4C284K19f4+QsLdkHC8S4EnVajEIIIlc1TpX0 EJyeFVnH4xN1IEJvjWCVboXM3G2PQol5z6sTJE6EKfTm/jED8MPINxbxQA9yv0JwJYua 2X8w== X-Received: by 10.170.83.11 with SMTP id z11mr10379015ykz.91.1423839941907; Fri, 13 Feb 2015 07:05:41 -0800 (PST) MIME-Version: 1.0 From: shawn wilson Date: Fri, 13 Feb 2015 10:05:21 -0500 Message-ID: Subject: directory specific functions and aliases To: Zsh Users Content-Type: text/plain; charset=UTF-8 What would be the best way to make functions that do different things based on the directory I'm in - kinda like rvm does with rubies? I was hoping for something cleaner than: case $(pwd) This is mainly because I want to wrap cvs and rsync differently based on repo (and where within that repo).