Comments (4)
You could put this in a clink_start.cmd file:
set CLINK_PATH=~\winfiles\Settings\clink-path;~\winfiles\Settings\clink-completions
The doc section about %CLINK_COMPLETIONS_DIR% has a "Note:" section that specifically says it's not for use with the clink-completions repo, and explains why not.
I don't know anything about zoxide.
from clink.
I can reply more later, but how did you decide to configure it that way?
That's not how those work, and it's not how the directions say to do it.
I recommend reviewing the directions again, and the documentation of those environment variables.
from clink.
To answer your question, I was just adding to what I have been doing for years. I have set these other environment variables in the same way in clink_start.cmd
.
set GIT_SSH=%USERPROFILE%\winfiles\bin\plink.exe
set GH_BROWSER="C:\\Program\ Files\\qutebrowser\\qutebrowser.exe"
set LESSHISTFILE=%APPDATA%\_lesshst
set PATH=C:\Program Files\Vim\vim90;C:\Program Files (x86)\GnuPG\bin;%USERPROFILE%\scoop\shims;%USERPROFILE%\winfiles\bin;%USERPROFILE%\winfiles\scripts;C:\Program Files\GitHub CLI;%PATH%
set EDITOR=vim
set LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40 ..........
Because all these work fine I just assumed that it would work too. Is this wrong for these variables? I'll have another look at the instructions.
from clink.
In particular look at docs for the completion dir environment variable (https://chrisant996.github.io/clink/clink.html#completion-directories). It's not for pointing at the clink-completions repo.
That repo contains normal scripts that have to run when loaded. Not deferred to when commands are typed. It also contains a completions\ directory, which does get deferred. But all script directories automatically look for deferred scripts under a completions\ subdirectory.
The clink_completions_dir variable is for adding additional directories that contain scripts to be deferred until command names are typed, i.e. additional completions\ directories but named differently or in different locations. You don't want that.
It's why you're getting the errors.
from clink.
Related Issues (20)
- Injecting Clink from shim HOT 6
- Unexpected tab completion fills HOT 3
- How about adding an automatic update mechanism? HOT 7
- Alias?? HOT 3
- Documentation for `globpattern` missing HOT 2
- Does installscripts search subdirectories? HOT 2
- Prompt auto_answer display blank lines if prompt have new line for answering HOT 3
- Tab completion messes up ..\ in partial path when no matches found HOT 3
- Enable previous tab completion behaviour (wait on clarification instead of cycling through choices) HOT 1
- How can I cycle through matching command lines in the command history? HOT 4
- Documentation Clarification HOT 9
- history delete doesn't work HOT 11
- Newbie question about window background HOT 4
- Ctrl + D functionality missing HOT 3
- ERROR: Clink initilization has failed with error code: 0 HOT 4
- FinalTerm escape sequences are stripped from prompt filter HOT 5
- How to start clink quiet in new Windows Terminal? HOT 2
- Startup time significantly slower in 1.4.25.e0d48c HOT 4
- Double click on Clink.bat to flash back HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clink.