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,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,T_KAM_HTML_FONT_INVALID,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6580 invoked from network); 27 Oct 2020 19:02:27 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 27 Oct 2020 19:02:27 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1603825347; b=IwU+gxQqGwSX4ecUqdOYg4dLuYo9G/sFKyxuPYEdTbc1V24v7+oKp0Ev/y2oacE0+4ZtAjoyfB GQBsxLupMGGkIy38y5Tcs+r4uO405jmW/K/0vn6Axq95LzccDmBlZWtFhcmQoP46uyh42Z04vz g6vfZsrYalxbVI3XCZtvEKH59kpkUOtAIKbek+YDIBP7TNCiz6l5PV6fRx56uQMCKfIsyUn5Q1 8Hr6COmRnqwKtg0Njst7HAz46VF5lySC9I+nV2ESWODlaaJGw1qKFF0Zt/4ZUlLe7NgRLVfBGX l2ZOvrhuIoh1uIoRMS1dzsvpKlfUHYQlfQgKUf1W9iVg6Q==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ot1-f52.google.com) smtp.remote-ip=209.85.210.52; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1603825347; bh=sy72M6iHOID9d6tp0KqMYPzLRugRC3pMcP1QntrMGWk=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=k0Dh96/1X7hSdx6RW4tLmykCK/A2O/cDYFhTNdT3ttI9UIdbhJNJ6OYaZOc1lILILO/JG7noUv g7+JUMPd9Qf3u0cG1ijXhysz7whRqvoei4oWd2Hgu55ar8qEFtNR7rNCFuoUo63xMVdYeUofRY 9sNEfqlaKmp3oFKzwNcd2XmJr2hb99j/iBiYn4LuhjRP631DsdncVOcyuAhRELsUm3rOSjByrz Mw9aQ1IPHEcG0/wNJ5USDsqdpBpSkWAOW0Gb6wbi2Ne+iDiKI6/2tFs27h1yRYfzZutxvExRM+ Pm2Ei8TeYA1EOeFoYQuRGrwzFWyIcJ6lcj5VyguM7NfpEQ==; 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-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=sy72M6iHOID9d6tp0KqMYPzLRugRC3pMcP1QntrMGWk=; b=antokQkFEkKQ9RwYZu95mlvZYl uQujnmfh8kBYLe7IFF6j1qX41eITDe0kuGygxItafbmh6FH4fcF74VsL6S6ia/UHa3qpR0DPwTfT3 7Llu80ciQlqGbDQ2fXxT09dN6z4q2ab6Fj3yn1wxRluQTmJCX8ywm2Hoc/ebhYcq2cdM9BGPLwuID lgvhaWBAtesNFLhyMVfU7R4TEVqcIc3705pUVHWm40+isleq+0uc2s2+n4NfIQaCy/btTlfz/llNk jqKfAf9H9GgZOLJ0Z7ez+2gyQyAwodZdn9kIhTtj4E/fHk8LgbiqOZMbvvr0klB44/g2AmZLZfKFV igN66ZHw==; Received: from authenticated user by zero.zsh.org with local id 1kXUEh-00097P-6D; Tue, 27 Oct 2020 19:02:23 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ot1-f52.google.com) smtp.remote-ip=209.85.210.52; dkim=pass header.d=gmail.com header.s=20161025 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-ot1-f52.google.com ([209.85.210.52]:36902) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1kXUE9-0008ku-G0; Tue, 27 Oct 2020 19:01:51 +0000 Received: by mail-ot1-f52.google.com with SMTP id m22so2104049ots.4 for ; Tue, 27 Oct 2020 12:01:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=sy72M6iHOID9d6tp0KqMYPzLRugRC3pMcP1QntrMGWk=; b=DtET0Tl/GRqPOiDMNp7UqUuN0WRkeQAhWyCToB0BvLLGB924tAQV1Xk6VO3Xf8xEXz cg/dKKZGczQARoPO79k193SFatzxRtTtUwMzqEMuiVHPtFVtgVZjod7z0QGWr0PkCK64 tPiNzYP5y1nukdqmKlBDEUGFnWZ2696ETDdhBKqQW40JlUUPWEQZKQRvMnM2nW74NA1G 6D7r07HoUT8ZZ/tGuYjQVVQ5j6KYebM9urUhSzd58eaw43h7+YpIqL/pQuB3YDOO/Gcp i5hcLhLvGXsYbMScgPYfwYkzc3XSstFoW0PhjT1dfSNKzW/HmT4sT8gCPZxjSQzX4Err ROAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=sy72M6iHOID9d6tp0KqMYPzLRugRC3pMcP1QntrMGWk=; b=CKCRs/iJiV4l61ewifd2q24DJNeYaDqO+EA3KnZNFrUCRGST8qf7HBLwKWRSI2pUQQ vZRxeAMPuGrCL+jjp7g0W+FQJS3rwehEUt7t+NG6+T5X6KA66/32IpeX38bFLnL1HDWp zs6iXKXzWTY6CrxD3UBzA3yxEB+jEHSVGzZKJB5/2gALOhecf6BVS/cK1AMWcOHjeT8J ytg+m8PB4FhIrI5qhUU6GxbjLFydHyjFjyw3VaxUEnyPwhJ6TtQI6W0NmMqBVPKO6vh2 FJ+3+xc4W/OrWZOtsl6QojSLZeiR3DlxCFtbR7yl8nqS4pKK9/ISodAUGN7ZiiOuKKYd rCbg== X-Gm-Message-State: AOAM533+947cVUJvJxW0D5QwG22zwIzFL/e7jbbJMaDb6EbjXO8B9Okk Ryw01S7Y3GXjMypvAKg7jXgpZLuKFOtbonqmpUYD4SGopjU= X-Google-Smtp-Source: ABdhPJwJGixiiW87CsuEZRkCfoTG13+KAsPoV/oZYDZ++stvQUd1cpfFZeTP6EY+Qxev5G/Eg3rLYpn7lGRwLPa3mCY= X-Received: by 2002:a05:6830:1f22:: with SMTP id e2mr2560946oth.339.1603825307784; Tue, 27 Oct 2020 12:01:47 -0700 (PDT) MIME-Version: 1.0 References: <20201025202419.528548e8@tarpaulin.shahaf.local2> <20201026220446.5d9ea4c3@tarpaulin.shahaf.local2> In-Reply-To: <20201026220446.5d9ea4c3@tarpaulin.shahaf.local2> From: Ahmad Ismail Date: Wed, 28 Oct 2020 01:01:36 +0600 Message-ID: Subject: Re: save a command in history from within the widget To: Daniel Shahaf Cc: Zsh Users Content-Type: multipart/alternative; boundary="000000000000c09aa505b2abadf5" X-Seq: 26135 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: --000000000000c09aa505b2abadf5 Content-Type: text/plain; charset="UTF-8" Thank you very much all. I will remember to: (a) state the use-case explicitly, (b) cross-link to other copies of the same question that have been (previously or concurrently) asked elsewhere. And I will In-Shah-Allah set the GIT_WORK_TREE and GIT_DIR variables now. *Thanks and Best Regards,Ahmad Ismail* On Tue, Oct 27, 2020 at 4:04 AM Daniel Shahaf wrote: > 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: > > > > > https://www.reddit.com/r/git/comments/jdl11c/can_not_use_some_of_my_aliases_with_bare_repo/ > > > https://stackoverflow.com/questions/64416625/can-not-use-some-of-my-aliases-with-bare-repo > > For future reference, when asking a question, it's considered good > netiquette to (a) state the use-case explicitly, (b) cross-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 > --000000000000c09aa505b2abadf5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you very much all. I will remember to:

(a)=C2=A0state the use-case explicitly,
(b)=C2=A0cross-link to other copies of the same question that have been (p= reviously or concurrently) asked elsewhere.

And I = will In-Shah-Allah set the GIT_WORK_TREE and GIT_DIR variables now.

Thanks= and Best Regards,

Ahmad Ismail


<= /div>
O= n Tue, Oct 27, 2020 at 4:04 AM Daniel Shahaf <d.s@daniel.shahaf.name> wrote:
Ahmad Ismail wrote on Mon, 26 Oct 202= 0 03:13 +0600:
> Thank you very much for responding. To get some context to my use case= you
> can check:
>
> http= s://www.reddit.com/r/git/comments/jdl11c/can_not_use_some_of_my_aliases_wit= h_bare_repo/
> https= ://stackoverflow.com/questions/64416625/can-not-use-some-of-my-aliases-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 t= o
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
--000000000000c09aa505b2abadf5--