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 4705 invoked from network); 31 Aug 2021 21:44:02 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 31 Aug 2021 21:44:02 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1630446242; b=bBSAPnwdC9g3Kox71T985y0aOVnEmPMRxvUPe4gn6f1JPRk4EApTM8zd8aP+ny8VuFl2SmWmrr o2h9TsmjkCjenNGRx7U4NHuTk0WruoTrNA8poSEUh7hciY3tRVIueu50QW4Apkqc5EBZFZN7qN xR9Du9+ZnfhQ77VvzpmNPjpMs/Eb7G0JxJ5u/ufSoRnyIgFfk1IU0pL6PNj3d6XomjSCHc02/I DUzjron9/lRQM2MLtZVrC7W10EDVuB/arBeiR5S1pJCjCOR/hfoHfaKquUlmvFwmRQ9HbQMGhP XyDtjsiXyZr/NXoCRtXkCF2EDXNlruRNeLHY8VZgeMMQOA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (email.dondley.com) smtp.remote-ip=34.203.132.18; dkim=pass header.d=dondley.com header.s=default header.a=rsa-sha256; dmarc=pass header.from=dondley.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1630446242; bh=sWgxYYflemFqmM/RyEi9ctgCLhvdzCRhVVCSOaFK+nI=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Message-ID:References: In-Reply-To:Subject:Cc:To:From:Date:MIME-Version:DKIM-Signature: DKIM-Signature; b=jt826SlzffOSZrL7AxUXeql8cjumJezaCxnTKzkkoAk7y4pLKFAcibKVtA2Q60W7dyvGtLeyx1 R8MQjeADZevvPkedm66qotwCP/rdnuHe8zKGso++FzLTz/0AdLBw4Jh0GyfTfYsj5RybZRSvK6 BUOSrgoVIdU31TTvL3aaUCFJzHof31SfjGBX6NXVCUCpYDxMkZX2/NddTjid9lwn2bWWoDM6Pm ogkUZcdpUMn8ayGvkijQNwxRn5XAQIb+CirrBzxF6zSP62t6/d4DEwGmNzdPcgG2eG16uWIM3w L8+gvUN3bq9UWaKN0whlekkFZYUBz1Kphfdy/D3AUnq4AQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Message-ID:References:In-Reply-To:Subject:Cc:To:From:Date: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=V0f1GvQeQI8es7dNo65cCCLtl7xRt0lfJPSQr8fCPCQ=; b=ceRfbnnwJKEEg54toARtibn/HD nqcjumD4sw77xw2v3wCQG5ROzvJQnb5Bs5UycjG8AUCG79pBP7HRCesVlQj2tV/DmsOpAbdH78bFB uTCTNBd7YTpvwSzRBmO1d36wxvw0RgvwagoxbppHsDT0tFkkKbR6tLW3aJftwFl99RZfpK7q0tlcr 15IPxZZeVcaoYaG+ZmIMvLFp4MlqyLC21EqaNlks3H6tzhWWOx4MWf9KGQ8lAjfg6x3rw+gc4ATyC e81DvDX9CFjxowFTswmJmXf1obRi1WLdF855BkzA2XSp+3S5hKRmGiHrYw10tMTEi6Fooj0cuVy1P 404RhpUg==; Received: from authenticated user by zero.zsh.org with local id 1mLBY1-0006Xr-PA; Tue, 31 Aug 2021 21:44:01 +0000 Authentication-Results: zsh.org; iprev=pass (email.dondley.com) smtp.remote-ip=34.203.132.18; dkim=pass header.d=dondley.com header.s=default header.a=rsa-sha256; dmarc=pass header.from=dondley.com; arc=none Received: from email.dondley.com ([34.203.132.18]:45600) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1mLBXL-0005nw-NH; Tue, 31 Aug 2021 21:43:20 +0000 Received: from email.dondley.com (email.dondley.com [34.203.132.18]) by email.dondley.com (Postfix) with ESMTPSA id 41211208D1; Tue, 31 Aug 2021 17:43:18 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dondley.com; s=default; t=1630446198; bh=sWgxYYflemFqmM/RyEi9ctgCLhvdzCRhVVCSOaFK+nI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ZbEeuLBazHIgUihWWa88khGZRwu44j5H5vJfB742mee5y9ytJIrofz2WBLnoS6UkW 2xQkNWVjV9/FtZewcuROoIkSZX3zs4owqqzWkKR4CqTieHJEIJZo8Cnj40DoMS4W6N L4UEsVg08/H50koFlGkwJB1nJD8vFmcf/tk6HX9rg6rGSRJ21lL6Fmhc368CkOBax4 IeitvQC553OcbCZlkqe5U2pjHGDM9Hlf8YPuZMGdYv/OhW4bjLesFKxjjKC63GCsUQ ZLk4+Yu5ycZ02x8c5zS3MgYod3M34oOhbrzLzT5xpiFxU56HuZ7eqp3rVZSWRVgJc1 hnBevtqbtPVsg== MIME-Version: 1.0 Date: Tue, 31 Aug 2021 17:43:18 -0400 From: Steve Dondley To: Roman Perepelitsa Cc: Zsh Users Subject: Re: Best practices for managing aliases in ohmyzsh? In-Reply-To: References: <41fa241f119fdb9b8598293aad345823@dondley.com> <776abe09c579095258b2eef28a7ad5ca@dondley.com> <1ee1545904fdc1b5f473460cddfe5000@dondley.com> User-Agent: Dondley Message-ID: <627828191ef98d754cb32264cc7824cf@dondley.com> X-Sender: s@dondley.com Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Seq: 27035 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: > If you only intend to invoke these scripts via aliases and never > directly from interactive shells or from other scripts, then you don't > need to put them in PATH. You can invoke them via their full names > instead. > > alias foo='~/.local/libexec/bar -blah' Yeah, good point. I can put these scripts anywhere. Probably best to use a variable for the directory path in case I want to change it. This sounds like a saner plan than what I have started doing. Thanks for your advice.