File tree 1 file changed +17
-8
lines changed
1 file changed +17
-8
lines changed Original file line number Diff line number Diff line change 1
1
/* Part of SWISH
2
2
3
3
Author: Jan Wielemaker
4
-
5
- WWW: http://www.swi-prolog.org
6
- Copyright (C): 2019, VU University Amsterdam
7
- CWI Amsterdam
4
+
5
+ WWW: https://www.swi-prolog.org
6
+ Copyright (C): 2019-2024, VU University Amsterdam
7
+ CWI Amsterdam
8
+ SWI-Prolog Solutions b.v.
8
9
All rights reserved.
9
10
10
11
Redistribution and use in source and binary forms, with or without
48
49
49
50
## Installation
50
51
51
- mkdir -p ~/lib/prolog
52
- cp myswish.pl ~/lib/prolog
53
- edit ~/lib/prolog/myswish.pl # fix path below
52
+ This file must be installed in your personal library. The location can
53
+ be found using the command below
54
+
55
+ ?- absolute_file_name(app_config(lib), Dir, [solutions(all)]).
56
+
57
+ The default on non-Windows systems is ``~/.config/swi-prolog/lib`` and
58
+ `myswish.pl` can be installed using these commands:
59
+
60
+ mkdir -p ~/.config/swi-prolog/lib
61
+ cp myswish.pl ~/.config/swi-prolog/lib
62
+ edit ~/.config/swi-prolog/lib/myswish.pl # fix path below
54
63
swipl
55
- ?- make_library_index('~/lib/ prolog').
64
+ ?- make_library_index('~/.config/swi- prolog/lib ').
56
65
?- halt.
57
66
58
67
And test the result by starting Prolog in a __writable directory__ and
You can’t perform that action at this time.
0 commit comments