-
EnvironmentOSTYPE=linux-gnu CPUTYPE=x86_64 / MACHINE_TYPE=x86_64 ZSH_VERSION=5.8.1 Expected behaviorzi can install tsl0922/ttyd when source ~/.zshrc Current behaviorI can not install tsl0922/ttyd with zi
Steps to reproduce1.add following Code snippet in ~/.zshrc Code snippet
Aditional information
Self-service
Have you read the Contributing Guidelines?
Are you familiar with Contributor Covenant Code of Conduct?
Contact Details |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
This not a bug, your installation steps are incorrect. Only project contributors/members get additional support, to get help with issues as installation or configurtation related problems, please open a discussion or use wiki, thanks. The installation successful after placing command in correct order: zi ice as"program" pick"./ttyd" \
atclone'mkdir build && cd build; cmake .. && make && sudo make install' atpull'%atclone'
zi light tsl0922/ttyd
Downloading: tsl0922/ttyd…
Cloning into '/home/ss-o/.zi/plugins/tsl0922---ttyd'...
⣯ ░▒▓████████ OBJ: 100, PACK: 4669/4669, COMPR: 100%, REC: 100%, RES: 100%
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Git: /usr/bin/git (found version "2.38.1")
-- Found LIBUV: /usr/lib/libuv.so
-- Found JSON-C: /usr/lib/libjson-c.so
-- Found ZLIB: /usr/lib/libz.so (found version "1.2.13")
-- Looking for LWS_WITH_LIBUV
-- Looking for LWS_WITH_LIBUV - found
-- Looking for LWS_OPENSSL_SUPPORT
-- Looking for LWS_OPENSSL_SUPPORT - found
-- Looking for LWS_WITH_MBEDTLS
-- Looking for LWS_WITH_MBEDTLS - not found
-- Found OpenSSL: /usr/lib/libcrypto.so (found version "1.1.1q")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ss-o/.zi/plugins/tsl0922---ttyd/build
[ 16%] Building C object CMakeFiles/ttyd.dir/src/utils.c.o
[ 33%] Building C object CMakeFiles/ttyd.dir/src/pty.c.o
[ 50%] Building C object CMakeFiles/ttyd.dir/src/protocol.c.o
[ 66%] Building C object CMakeFiles/ttyd.dir/src/http.c.o
[ 83%] Building C object CMakeFiles/ttyd.dir/src/server.c.o
[100%] Linking C executable ttyd
[100%] Built target ttyd
Consolidate compiler generated dependencies of target ttyd
[100%] Built target ttyd
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/bin/ttyd
-- Installing: /usr/local/share/man/man1/ttyd.1
~/.github_z-shell main Almost every Zi functions is covered in wiki and offten updated/improved: Additonally if exists it is always easier to pick GitHub release: zi ice from'gh-r' as"program" mv'ttyd* -> ttyd' pick"ttyd"
zi light tsl0922/ttyd It recommended to use bin-gem-node annex and $ZPFX dir, example: zi ice from'gh-r' as"program" sbin'ttyd* -> ttyd'
zi light tsl0922/ttyd For additional files can be picked in multiple ways, example: zi ice from'gh-r' as"program" sbin'ttyd* -> ttyd' \
atclone'curl -sL https://github.com/tsl0922/ttyd/raw/main/man/ttyd.1 -o $ZI[MAN_DIR]/man1/ttyd.1'
zi light tsl0922/ttyd Annexes provides various capabilites, in this case you may want Path-DL. And finally for multiple profiles and very long complex commands you can request to open repository for Zi package and store command in JSON file and then install it for example |
Beta Was this translation helpful? Give feedback.
-
Thanks for your help,I have to study harder to learn wiki. |
Beta Was this translation helpful? Give feedback.
This not a bug, your installation steps are incorrect. Only project contributors/members get additional support, to get help with issues as installation or configurtation related problems, please open a discussion or use wiki, thanks.
The installation successful after placing command in correct order: