[packages/adapter: 626/631] fish_compdir, zsh_compdir

glen glen at pld-linux.org
Mon Sep 12 20:26:54 CEST 2016


commit a5967a4b475618945c61dc28dd535243b1e2c50e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Mon Aug 22 15:16:42 2016 +0300

    fish_compdir, zsh_compdir

 adapter.awk | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index bb08282..703f11a 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -1353,8 +1353,10 @@ function use_macros()
 		gsub(datadir, "%{_datadir}", $c)
 	}
 
-	# bash completions dir, after datadir change
+	# completions dir, after datadir change
 	gsub("%{_datadir}/bash-completion/completions", "%{bash_compdir}")
+	gsub("%{_datadir}/fish/vendor_completions.d", "%{fish_compdir}")
+	gsub("%{_datadir}/zsh/site-functions", "%{zsh_compdir}")
 
 	gsub("%{prefix}/share", "%{_datadir}")
 	if (prefix"/share" == datadir)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list