From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "seagle0128@gmail.com" Newsgroups: gmane.emacs.help Subject: =?UTF-8?Q?=E5=9B=9E=E5=A4=8D=EF=BC=9Aemacs_doesn't_inher?= =?UTF-8?Q?it_PATH_from_environment?= Date: Wed, 14 Feb 2018 09:55:26 +0800 Message-ID: <-ze1v19-d4c1on-lipd34-1sb5gmhc6ytfxvx0dgaztjmz-6imrwf-mm0vhm-4vg5py-udy1d97cl4z8yx6aw2-ay56c7-b2sjybpfovxa-39n55ezglwm02h55bm-b4j0r2mt4e53624xt1-m71ugcr53b0y.1518573326778@email.android.com> References: <86h8qkcpmj.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" X-Trace: blaine.gmane.org 1520741957 1273 195.159.176.226 (11 Mar 2018 04:19:17 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 11 Mar 2018 04:19:17 +0000 (UTC) To: Emanuel Berg , "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 11 05:19:13 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eusS1-0000Dj-44 for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Mar 2018 05:19:13 +0100 Original-Received: from localhost ([::1]:52978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eusU3-0005Xh-RH for geh-help-gnu-emacs@m.gmane.org; Sat, 10 Mar 2018 23:21:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eusTb-0005VS-Gc for help-gnu-emacs@gnu.org; Sat, 10 Mar 2018 23:20:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eusTW-00065U-Oj for help-gnu-emacs@gnu.org; Sat, 10 Mar 2018 23:20:51 -0500 Original-Received: from mail-pg0-x231.google.com ([2607:f8b0:400e:c05::231]:44584) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eusTW-000648-Hy for help-gnu-emacs@gnu.org; Sat, 10 Mar 2018 23:20:46 -0500 Original-Received: by mail-pg0-x231.google.com with SMTP id l4so5141180pgp.11 for ; Sat, 10 Mar 2018 20:20:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:subject:message-id:references:from:to:mime-version :content-transfer-encoding; bh=C8Y+HqVeYSMrKlwe6+8cm26tPMKXgDEpe1ss3xnvaj4=; b=T1+DKKy+HVlI6PsO3NXRHaSB3tVRxIIsBGTs26UM1YmJ8XO0Y7IYTykvyHeYBmKvk0 9VdeyfpvewrUQNWjgFSq8JBksyvxeSHik0a6KiY5oYuBHGmyqu2lrfF7B1yxdWsB2UBB /9hcZnOUQcQVTQvMml3u5TIgTMGEOaoj/1jy9ydQZ3jjCQ2ceiF5ZZH9CWwQkdwPd3+/ vrEDpd0urlPbmdrQKboktrtc0EmOrfqw5zXgfYivX+YY0RTsfs/gfpppke4GRWzUbgQ8 scHfPk+9qJbE2o1t0MWX6esDg7p1JYgzzzLA5SwL3fh1ZGSfVizuMoL8TjhOBB2vZe0s 1wpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:message-id:references:from:to :mime-version:content-transfer-encoding; bh=C8Y+HqVeYSMrKlwe6+8cm26tPMKXgDEpe1ss3xnvaj4=; b=YlA5ueDLCdodLEKPOnvTtMLUBb6uFOlDHm3LRqd4ZoP5gLtY92J/fYU8Bl+lCnZ6BD MFTJHHHFN50JsbQva1PXHyWkJvyDT5pklS9+h/t6jwBFrSRJO4Gzc1WS6eUyRhH/zsMd Hua6bGSpx0IGf52z5bICFpf++BdxjEqjQeYYCQOpU+gp9hszRiYsLRm/+TmU+nSG2dkm oHwoiLfqaCvjVmMmWBpqJfeUsT0DKbfqPw/JRWqdiO7bL7UB6Qo0++HD5GGLH2VlkP60 TU64FA4Ec3y/Kqi/8YcMQCGHgMFwZAE+kmaIfkRgPKHCd3ozsFMd7hbMz+Nmslhx21Ky ndCg== X-Gm-Message-State: AElRT7EKOJcWPRbZKxxl4I2+fVs4JwDqhl7lda++UN6XOqwVPugXHu06 n2UOaQmUj3Bx1gb0u9OsZh0= X-Google-Smtp-Source: AG47ELsCT6SWiaoVbeOpM0yOZkejS26VL/Q/jtc3n08jBFM3+p4IdtoEUJJgaoOwKbmRhmSriXcz7Q== X-Received: by 10.98.245.18 with SMTP id n18mr3682454pfh.25.1520742045362; Sat, 10 Mar 2018 20:20:45 -0800 (PST) Original-Received: from [26.26.26.1] (8.142.201.35.bc.googleusercontent.com. [35.201.142.8]) by smtp.gmail.com with ESMTPSA id u18sm8793403pfm.48.2018.03.10.20.20.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Mar 2018 20:20:44 -0800 (PST) X-Priority: 3 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::231 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116170 Archived-At: My solution, put env vars in .zshenv, and use exec-path-from-shell package to import into emacs. BTW, this is a good post http://ergoemacs.org/emacs/emacs_env_var_paths.html. Best Regards, Vincent Zhang -------- 原始邮件 -------- 主题:Re: emacs doesn't inherit PATH from environment �件人:Emanuel Berg 收件人:help-gnu-emacs@gnu.org 抄�: Robert Thorpe wrote: > Have a look at th Zsh documentation, it will > probably explain some obscure caveats about > using .zshrc. Unfortunately, reading zsh documentation is like a full-time job, with the exception you actually have to *do* it! But Emacs + zsh isn't such an uncommon combination, so perhaps someone reading this still knows... -- underground experts united http://user.it.uu.se/~embe8573