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 18196 invoked from network); 26 Oct 2020 22:05:27 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 26 Oct 2020 22:05:27 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1603749927; b=MRhhhxl+perjqZRlcl8P/JtAx0fHsigXRfqEW+h5NJPnRLufLXchC8eP+YBkBRTYBsFJRu/Pao mJzg+RDBtkFFzOikz15I2Mjl4kdThImF3O8yiN2HzIDZJLuA9ivIj1MT73MMzdOdwfhZTn2VRH o3uvJssMBH/4+qIrfclxspNHvxq5kywFhfCTwK/oDhtIn/cbEdYHjXRMSP4mq7RKC8+7ywet9P Zo2r4tdwGC7HhFwbRTIsNLYKw5T1QQ/PnUZza5VXDYB6wuuXtvletqqCtkMeIiGz+om5ELr6u8 v+WxLqjTL9nqn5g/76A/TGd6hEK1+zIIE9AHMZQwYZWT2A==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (wout4-smtp.messagingengine.com) smtp.remote-ip=64.147.123.20; dkim=pass header.d=daniel.shahaf.name header.s=fm1 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 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=1603749927; bh=ZbwKn+tHrB9Eyoq+jR+jQEfZMRFczpoiC3GmvfnM9nI=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:MIME-Version: References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:DKIM-Signature: DKIM-Signature:DKIM-Signature; b=DkXU+DzOcvVOC0xf5pCHzYAl/UqJFPBHf8o7P1Oo9/3w9veyzZ1bmxHQRhYsntpj3kcgiBBmAG JBc921H9mFm89Ahp2eGOay3PDPh9e7xp7K7V2wAEYS3Peki6PgmPNlQ2HNrWBo6mXvwser2ZgA c5khSV1ouKdtS5zFSi4CIIt4UzlBhnigINa/57aQlOzQ6P1L78o4akeYzv0YWVDbbSy4LgjYbY xGtWAdbiCYX54gUr9CxekisHruIF0lTpaRa7kCuUCbZoh4z0TOXkNN/9NGYSATOkwaW5HXmFzN VK/xxEVsi8Lxa1HOFypL5WitbOKjEYKnmnggP+7nPcs95Q==; 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:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To: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=ZbwKn+tHrB9Eyoq+jR+jQEfZMRFczpoiC3GmvfnM9nI=; b=z5t2M+IhupCGSmGElrFcfUHJFg IWw8dQ5IwxPGUpKEXggYIwvcitZsO5R5ub9QpMRGfJ05q66d1gElDh3felyIa8IL5tfk8AoURXCfn UTc7fuSRwULJZcAS4Wq0jRFrmtFDABrtaCQdRjVTKB7heaTjEMYqvNUhZ3gQ2XpHcBiXPvzMpgY/5 S3UY/zZDEbpy/UM3lpPYw4etAAavg6Ey5reE9idR95rv9GcPr2rMAHeRsVTLoATYmFx8tJ8Yk6CQn FiFbLZ3yJYyqqE5kM1+3YGRZGIGBZQGoZc3vA90Xyrtfje3FRkOYwVb8nY7EKVaDoH3tF85Oz2LHE 4cftC/mw==; Received: from authenticated user by zero.zsh.org with local id 1kXAcH-00033U-Ob; Mon, 26 Oct 2020 22:05:25 +0000 Authentication-Results: zsh.org; iprev=pass (wout4-smtp.messagingengine.com) smtp.remote-ip=64.147.123.20; dkim=pass header.d=daniel.shahaf.name header.s=fm1 header.a=rsa-sha256; dkim=pass header.d=messagingengine.com header.s=fm1 header.a=rsa-sha256; dmarc=none header.from=daniel.shahaf.name; arc=none Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:38129) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1kXAbl-0002gh-NU; Mon, 26 Oct 2020 22:04:55 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 49E42B6B; Mon, 26 Oct 2020 18:04:51 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 26 Oct 2020 18:04:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= daniel.shahaf.name; h=date:from:to:cc:subject:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=fm1; bh=ZbwKn+tHrB9Eyoq+jR+jQEfZMR FczpoiC3GmvfnM9nI=; b=gNJMYLTLUzPImPAkV4xuQwHd0H7bzZ7iEiXt0/uxYB xI656JOkZKZjgvpqg7mbQqOJJqr9+Z6kg3qpRZnq0CIz88MgVEGu9LNk1ZZ51jS2 7b7eBM6f+MKi9p5ruM2Jo/75hYu+UKoM/WLoT0Fvfq/WcXw+M9NkV6db2OfyfhdW fdenG046+wqBdN17XrskGtF0dhPURCQwdcHJBUKTufnXdKWywHZxZGaKLq1tXL2M NwpvKK3taTOPaD8Xs8s+UiHzPeoOcW9Lm7gFvD/YBQsksL75+PDM5U606knRwD3v /pb1oiwFJnfVItUOGTmyWLaPwInm9XWLHvV3Hhixb2GA== 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=fm1; bh=ZbwKn+tHrB9Eyoq+jR+jQEfZMRFczpoiC3GmvfnM9 nI=; b=YRK2U+bljrL5/1Xj62YtG4Wczgx6xtsbGslmu3DtwKKZIgKM+LfmQwaFm JhLTHyl2odGGWluuaGic3VDcKJwRSV4SZpI3N6uVcbGk2LSfJsHsTRBDlQTfC4DV XnTl1gFnBzhRZ/f3EFAi8BhkJZ3JEf9Y0FZV1DfhsHdhg0QEAwpNr94tHPTH3O9z YraD3Eduet7Klh7q0reI4CKrxSs8CAdHbdtIJ7Mba4jfZ1Mc+XHdVpyagujL3JXq e8hqz1ukwLktUyHDPXHKsKBtMI0D7fuo/aYI6yUvvOqQz9emStav5rEm7WtcBSAv b6WFgyVkn1NOGQOCFW/Xx+6MIS/rA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrkeejgdduvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfgjfhfogggtgfesthhqtddtredtjeenucfhrhhomhepffgrnhhi vghlucfuhhgrhhgrfhcuoegurdhssegurghnihgvlhdrshhhrghhrghfrdhnrghmvgeqne cuggftrfgrthhtvghrnhepuedvhfdtffeggeehkeetfeeludegkeefieekkeduteelieeg udeffeejkeeguddvnecuffhomhgrihhnpehrvgguughithdrtghomhdpshhtrggtkhhovh gvrhhflhhofidrtghomhenucfkphepuddtledrieeirddufedrvddvjeenucevlhhushht vghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegurdhssegurghnihgvlh drshhhrghhrghfrdhnrghmvg X-ME-Proxy: Received: from tarpaulin.shahaf.local2 (bzq-109-66-13-227.red.bezeqint.net [109.66.13.227]) by mail.messagingengine.com (Postfix) with ESMTPA id E2A953280059; Mon, 26 Oct 2020 18:04:49 -0400 (EDT) Received: from tarpaulin.shahaf.local2 (localhost [IPv6:::1]) by tarpaulin.shahaf.local2 (Postfix) with ESMTP id 4CKplz5qxBz1lP; Mon, 26 Oct 2020 22:04:47 +0000 (UTC) Date: Mon, 26 Oct 2020 22:04:46 +0000 From: Daniel Shahaf To: Ahmad Ismail Cc: Zsh Users Subject: Re: save a command in history from within the widget Message-ID: <20201026220446.5d9ea4c3@tarpaulin.shahaf.local2> In-Reply-To: References: <20201025202419.528548e8@tarpaulin.shahaf.local2> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Seq: 26134 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: Archived-At: Ahmad Ismail wrote on Mon, 26 Oct 2020 03:13 +0600: > Thank you very much for responding. To get some context to my use case you > can check: >=20 > https://www.reddit.com/r/git/comments/jdl11c/can_not_use_some_of_my_alias= es_with_bare_repo/ > https://stackoverflow.com/questions/64416625/can-not-use-some-of-my-alias= es-with-bare-repo For future reference, when asking a question, it's considered good netiquette to (a)=C2=A0state the use-case explicitly, (b)=C2=A0cross-link to other copies of the same question that have been (previously or concurrently) asked elsewhere. Consider writing a 'd' command that sets GIT_WORK_TREE and GIT_DIR in the environment and executes git. See also vcsh(1). Daniel