mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Disable internalized scripts
This commit is contained in:
parent
377d93d1cf
commit
9255f625fa
2 changed files with 8 additions and 1 deletions
|
@ -168,8 +168,14 @@ GENERATED_INTERN_SCRIPT_FILES := builtin_scripts.h builtin_scripts.cpp
|
||||||
|
|
||||||
# Use a pattern rule so that Make knows to only issue one invocation
|
# Use a pattern rule so that Make knows to only issue one invocation
|
||||||
# per http://www.gnu.org/software/make/manual/make.html#Pattern-Intro
|
# per http://www.gnu.org/software/make/manual/make.html#Pattern-Intro
|
||||||
|
|
||||||
|
# Internalized scripts are currently disabled.
|
||||||
|
# For now, we just generate empty arrays.
|
||||||
|
# To generate them again, you would run this:
|
||||||
|
# ./internalize_scripts.py share/functions/*.fish share/completions/*.fish
|
||||||
|
|
||||||
builtin%scripts.h builtin%scripts.cpp: internalize_scripts.py
|
builtin%scripts.h builtin%scripts.cpp: internalize_scripts.py
|
||||||
./internalize_scripts.py share/functions/*.fish share/completions/*.fish
|
./internalize_scripts.py
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -18,6 +18,7 @@ The classes responsible for autoloading functions and completions.
|
||||||
static const int kAutoloadStalenessInterval = 15;
|
static const int kAutoloadStalenessInterval = 15;
|
||||||
|
|
||||||
file_access_attempt_t access_file(const wcstring &path, int mode) {
|
file_access_attempt_t access_file(const wcstring &path, int mode) {
|
||||||
|
//printf("Touch %ls\n", path.c_str());
|
||||||
file_access_attempt_t result = {0};
|
file_access_attempt_t result = {0};
|
||||||
struct stat statbuf;
|
struct stat statbuf;
|
||||||
if (wstat(path, &statbuf)) {
|
if (wstat(path, &statbuf)) {
|
||||||
|
|
Loading…
Reference in a new issue