Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: save a command in history from within the widget
- X-seq: zsh-users 26134
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Ahmad Ismail <ismail783@xxxxxxxxx>
- Subject: Re: save a command in history from within the widget
- Date: Mon, 26 Oct 2020 22:04:46 +0000
- Archived-at: <https://zsh.org/users/26134>
- Archived-at: <http://www.zsh.org/sympa/arcsearch_id/zsh-users/2020-10/20201026220446.5d9ea4c3%40tarpaulin.shahaf.local2>
- 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
- Cc: Zsh Users <zsh-users@xxxxxxx>
- 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==
- In-reply-to: <CAHAhJwK_LFjnZJx_-cc=n9UbkwZ6KD6br2V3M7WtvvHHvOeezg@mail.gmail.com>
- List-archive: <http://www.zsh.org/sympa/arc/zsh-users>
- List-help: <mailto:sympa@zsh.org?subject=help>
- List-id: <zsh-users.zsh.org>
- List-owner: <mailto:zsh-users-request@zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-subscribe: <mailto:sympa@zsh.org?subject=subscribe%20zsh-users>
- List-unsubscribe: <mailto:sympa@zsh.org?subject=unsubscribe%20zsh-users>
- References: <CAHAhJw+EVFVoXT7Wp_dTMwVy4__Za+umR3cgmmY1Crr5y5+6Qg@mail.gmail.com> <20201025202419.528548e8@tarpaulin.shahaf.local2> <CAHAhJwK_LFjnZJx_-cc=n9UbkwZ6KD6br2V3M7WtvvHHvOeezg@mail.gmail.com>
- Sender: zsh-users-request@xxxxxxx
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author