From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id z3HzFKmtZ19WLwAA0tVLHw (envelope-from ) for ; Sun, 20 Sep 2020 19:29:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id YN+HEKmtZ1+MKwAA1q6Kng (envelope-from ) for ; Sun, 20 Sep 2020 19:29:45 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4291C940239 for ; Sun, 20 Sep 2020 19:29:44 +0000 (UTC) Received: from localhost ([::1]:44830 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kK51r-0004cc-3k for larch@yhetil.org; Sun, 20 Sep 2020 15:29:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kK51C-0004al-NT for guix-patches@gnu.org; Sun, 20 Sep 2020 15:29:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kK51C-00053s-4a for guix-patches@gnu.org; Sun, 20 Sep 2020 15:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kK51C-0005gE-0o for guix-patches@gnu.org; Sun, 20 Sep 2020 15:29:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43539] [PATCH] gnu: vim: Automatically find vim plugins. Resent-From: Ricardo Wurmus Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 20 Sep 2020 19:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43539 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Efraim Flashner Cc: 43539@debbugs.gnu.org X-Debbugs-Original-Cc: guix-patches@gnu.org, 43539@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160063009521770 (code B ref -1); Sun, 20 Sep 2020 19:29:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Sep 2020 19:28:15 +0000 Received: from localhost ([127.0.0.1]:52682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK50Q-0005f2-P1 for submit@debbugs.gnu.org; Sun, 20 Sep 2020 15:28:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:37646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kK50O-0005eo-W7 for submit@debbugs.gnu.org; Sun, 20 Sep 2020 15:28:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kK50O-0003ok-Nr for guix-patches@gnu.org; Sun, 20 Sep 2020 15:28:12 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21112) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kK50M-0004v3-Lo for guix-patches@gnu.org; Sun, 20 Sep 2020 15:28:12 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1600630087; cv=none; d=zohomail.com; s=zohoarc; b=fK1BAC2cfS7wqpDgsDiuO/RaUE8QhjZ01BMzTAKSv6i6MrKTfWHbuJRMn94rmCYhDD8/TJsrwkHdUsZerKgHFGFYiH3J+zqy7cIB/QZlu4fzXk2Yp+s705QP0xutP9kLjJ2/rI7LwWPZR2CzRvWGP/wd3IF7oBgfDiNnug0gE0Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1600630087; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=H4LVjSPPZUR7SyvcYW3Y4pExjPk8CUZ+33KXxtCc0wE=; b=bkerxLyaG7Slwys0ZQMhJ1hqGjO2U1tWh9sqL01/MtZfHtd562x4eJAo0CVEJueZtLsfYfMv22wwNOUg59glu8VuZkzRHwYeOzoT+2k99inkIP0kkZkoqMN24R3Cyv9v/pCnHI1BUPthl266SgZUg7kbtPJKBSbVci+Wdl1eDTM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1600630087; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type; bh=H4LVjSPPZUR7SyvcYW3Y4pExjPk8CUZ+33KXxtCc0wE=; b=H1Zx8gZDrcsBKRiI7HybjwFCCPe60WxZvrVMTthYsxsrz+QIssUkLcBEsCxDZKjy Hhx1YlSdl65WgNFMA2ihJmlNea+/EiD6iJiTRcZmTZ+pj9niEzoZk5KLnnsHFnzCT/O 6rZScB7b2GB8Uji34k/ieu5GIgaoo505I283br2Y= Received: from localhost (p54ad419e.dip0.t-ipconnect.de [84.173.65.158]) by mx.zohomail.com with SMTPS id 1600630085096470.86193306549194; Sun, 20 Sep 2020 12:28:05 -0700 (PDT) References: <20200920191523.6871-1-efraim@flashner.co.il> User-agent: mu4e 1.4.13; emacs 27.1 From: Ricardo Wurmus In-reply-to: <20200920191523.6871-1-efraim@flashner.co.il> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Sun, 20 Sep 2020 21:29:27 +0200 Message-ID: <87bli0tffs.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/20 15:28:08 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.3 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=elephly.net header.s=zoho header.b=H1Zx8gZD; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 1.99 X-TUID: ARH/d/rLeFfb Efraim Flashner writes: > diff --git a/gnu/packages/aux-files/guix.vim b/gnu/packages/aux-files/guix.vim > new file mode 100644 > index 0000000000..ca97f451d8 > --- /dev/null > +++ b/gnu/packages/aux-files/guix.vim > @@ -0,0 +1,7 @@ > +" This appends all of the vim plugins to the end of Vim's runtimepath. > +for directory in ["/run/current-system/profile", $HOME . "/.guix-profile", $GUIX_ENVIRONMENT] How about using $GUIX_PROFILE as well or instead of $HOME/.guix-profile? This would allow users to keep a separate profile for Vim things. -- Ricardo