zimfw / bira Goto Github PK
View Code? Open in Web Editor NEWA fork of bira's theme.
License: MIT License
A fork of bira's theme.
License: MIT License
Hello,
When I use the autocompletion feature with the bira
theme, the first characters will be duplicated and the cursor is misplaced. This only happen, if I need to hit TAB twice. If the word to complete is not ambiguous everything is fine.
The cursor also is misplaced, when the executed command returns an error. For example, when just type test
or use Ctrl+C
.
cd ${$(mktemp -d):A} && \
ZDOTDIR=${PWD} HOME=${PWD} ZIM_HOME=${PWD}/.zim && \
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh && \
exec zsh
.zimrc
to bira
echo $P
and hit TAB twice produces:╭─user@machine ~
╰─$ echoecho $PS1
-- parameter --
PAGER PPID PROMPT PROMPT3 PS1 PS3 PSVAR parameters path precmd_functions prompt
PATH PROFILEHOME PROMPT2 PROMPT4 PS2 PS4 PWD patchars pipestatus preexec_functions psvar
Note the echoecho
at the beginning
After execution everything I fine again, if command returns without error.
If execution failed, I get:
╭─user@machine ~
╰─$ 127 ↵
^
cursor is here
So the cursor is inside the $
and the line behaves more strange.
The first four characters of the autocompleted line will be duplicated.
When commands execution failed before the input of npm inst
and TAB twice will produce:
╭─user@machine ~
╰─npm innpm install 254 ↵
insta instal install install-ci-test install-clean install-test
While the cursor is inside the s
of install
and all
is from my history, I think.
No duplication of the first characters.
No strange behavior of command line, when use auto completion even after a command failed before.
╭─user@machine ~
╰─$ zimfw info
zimfw version: 1.12.1 (built at 2023-09-16 18:25:16 UTC, previous commit is 26151d2)
LANG: de_DE.UTF-8
OSTYPE: linux-gnu
TERM: xterm-256color
TERM_PROGRAM:
TERM_PROGRAM_VERSION:
ZIM_HOME: /home/user/.zim
ZSH_VERSION: 5.8
Using the theme steeef
let me use autocompletion as intended.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.