From 39fa757312ccb718a417336119cd1a5e9181ba03 Mon Sep 17 00:00:00 2001 From: Pablo Santiago Blum de Aguiar Date: Tue, 27 Dec 2022 14:56:30 +0100 Subject: [PATCH] Use status to derive the current plugin path --- conf.d/plugin-vcs.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf.d/plugin-vcs.fish b/conf.d/plugin-vcs.fish index 34891a8..05df0ac 100644 --- a/conf.d/plugin-vcs.fish +++ b/conf.d/plugin-vcs.fish @@ -1,4 +1,4 @@ -set -l vcs_path (dirname (dirname $conf_path)) +set -l vcs_path (dirname (status dirname)) for vcs in git hg svn source $vcs_path/functions/$vcs/vcs.$vcs.present.fish