aboutsummaryrefslogtreecommitdiffhomepage
path: root/share
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-07-19 02:41:55 +1000
committerGravatar axel <axel@liljencrantz.se>2006-07-19 02:41:55 +1000
commit57b3965518582bb3891d926e8615908f1ccba33c (patch)
tree62ef0d89ee332b3975c64ef68573a7fd36630c54 /share
parent3e843f82195a0fdea18bbb31fb9677740370465a (diff)
Initialize etc/fish and share/fish from the Makefile, not automatically by Autoconf. That way we get correct expansion of ${prefix} and friends to their install-time value. This fixes a bug reported by James Vega.
darcs-hash:20060718164155-ac50b-8ec6c63d9c4e52db2c1884fcffeab78333367773.gz
Diffstat (limited to 'share')
-rw-r--r--share/fish.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/share/fish.in b/share/fish.in
index a7e6e1dd..226a5a24 100644
--- a/share/fish.in
+++ b/share/fish.in
@@ -3,12 +3,14 @@
# common helper functions for the command completions. All actual
# completions are located in the completions subdirectory.
#
+# @configure_input@
-#
-# Assign a temporary value here for performance reasons. The real value should be set in /etc/fish.
-#
+# Assign a temporary value here for performance reasons. The real
+# value should be set in /etc/fish.
+
+set -g fish_function_path @datadir@/functions/
+set __fish_help_dir @docdir@
-set -g fish_function_path $PWD/functions/
#
# Make sure there are no invalid entries in the PATH