Closed kaleocheng closed 4 years ago
Currently I do not know of the possibility to disable autocomplete on the Terminal extension. It appears from https://github.com/albertlauncher/plugins/blob/dev/terminal/src/extension.cpp#L131 that the "lucky" item is also not subject to frequency reordering (it does not bubble up if used more).
I would suggest introducing a second trigger for the Terminal extension such as $
.
When this trigger is used, only the lucky item is returned.
This can be easily implemented by putting the whole index search into an if block.
Anyone who would like to submit a PR is very welcome.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
We have come to a clear decision: aliases and functions are interactive shell features. Albert is no interactive shell so it wont support it. Also we are not going to loosen this restriction since parsing shell(s) rc files, profiles, xinit, logout and whatever files may be read at shell initialization is a major pita. You can still place a script in ~/.local/bin/.
Note: I wrote this comment as fast as I can to master the current pile of work. If I missed the point or you have other objections please open a new issue.
Hi guys, thanks for building Albert, it works really well for me so far except a minor thing on Terminal Extension.
I have a alias
v
which is a wrapper of autojump + vim. I usually use it likethen when I try to use it via terminal extension, there are tons of commands came from autocomplete and I have to jump to the last
I'm Feeling Lucky
one by one.so how can I disable that autocomplete?
Source
NixOS repo
Environment