[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/exec-path-from-shell 3a8d97c096 110/114: Show how I add NI
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/exec-path-from-shell 3a8d97c096 110/114: Show how I add NIX_PATH, SSH_AUTH_SOCK etc. to vars list |
Date: |
Tue, 5 Sep 2023 04:00:08 -0400 (EDT) |
branch: elpa/exec-path-from-shell
commit 3a8d97c096c2c5714b667130fd8a80d5622ee067
Author: Steve Purcell <steve@sanityinc.com>
Commit: GitHub <noreply@github.com>
Show how I add NIX_PATH, SSH_AUTH_SOCK etc. to vars list
---
README.md | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/README.md b/README.md
index a50fc66cc2..aa2e3fcf63 100644
--- a/README.md
+++ b/README.md
@@ -80,6 +80,13 @@ You can copy values of other environment variables by
customizing
This function may also be called interactively.
+The author uses the following configuration snippet before calling
`exec-path-from-shell-initialize`:
+
+```el
+(dolist (var '("SSH_AUTH_SOCK" "SSH_AGENT_PID" "GPG_AGENT_INFO" "LANG"
"LC_CTYPE" "NIX_SSL_CERT_FILE" "NIX_PATH"))
+ (add-to-list 'exec-path-from-shell-variables var))
+```
+
### Setting up your shell startup files correctly
Note that your shell will inherit Emacs's environment variables when
- [nongnu] elpa/exec-path-from-shell 1d373ba14c 070/114: Fix defcustom for exec-path-from-shell-shell-name, (continued)
- [nongnu] elpa/exec-path-from-shell 1d373ba14c 070/114: Fix defcustom for exec-path-from-shell-shell-name, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 5736cc87e4 075/114: Add sentinel to exec-path-from-shell-printf (closes #41), ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 885b3de9bb 078/114: Fix checkdoc warning, bogus local var, non-standard keywords, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 699f41edb3 087/114: Show error if trying to run from a remote buffer, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell e24dddb3b7 038/114: Capitalize MELPA, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 8748769a6c 042/114: Better "motivation" description, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 9bc0f4a762 085/114: Note about how best to set up shell config files, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 76fbdf5d01 092/114: Fix ignore pattern in Actions YAML, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 6124001b69 101/114: Checkdoc fixes, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 4c3fbc3d7f 108/114: "docstring wider than 80 characters", ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 3a8d97c096 110/114: Show how I add NIX_PATH, SSH_AUTH_SOCK etc. to vars list,
ELPA Syncer <=
- [nongnu] elpa/exec-path-from-shell c2a727fe34 062/114: fix defcustom loading when env SHELL is empty, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 192c5341c5 044/114: Update MELPA URLs, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 18cad603c4 100/114: Mention applicability to running a daemon from systemd, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell ddd24dc823 113/114: Add Emacs 28.2 to CI, cut down size of matrix, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 30df5be792 064/114: Minor README fix, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 39755bf322 045/114: Use 'el' code block type rather than 'scheme', ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 0f53502d46 068/114: Produce error at runtime if SHELL is unset, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 4c67a95a65 079/114: Add explicit GPL 3 license, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell f858b05cf9 083/114: Make installation instructions more explicit, ELPA Syncer, 2023/09/05
- [nongnu] elpa/exec-path-from-shell 76cd6e3fa8 086/114: Don't use -i by default with Fish (see #87), ELPA Syncer, 2023/09/05