adjust dir structure

This commit is contained in:
2026-01-20 17:38:57 +08:00
parent e5d07895db
commit b387305048
6 changed files with 137 additions and 154 deletions

36
zsh/functions/check.sh Normal file
View File

@@ -0,0 +1,36 @@
#!/bin/bash
# check for git
if ! command -v git >/dev/null 2>&1; then
echo "Git is not installed."
fi
# check for python
if ! command -v python >/dev/null 2>&1; then
echo "Python is not installed."
fi
# check for rust
if ! command -v cargo >/dev/null 2>&1; then
echo "Rust is not installed."
fi
# check for verilator
if ! command -v verilator >/dev/null 2>&1; then
echo "Verilator is not installed."
fi
# check for iverilog
if ! command -v iverilog >/dev/null 2>&1; then
echo "iverilog is not installed."
fi
# check for OpenJDK
if ! command -v javac >/dev/null 2>&1; then
echo "OpenJDK is not installed."
fi
# check for sbt
if ! command -v sbt >/dev/null 2>&1; then
echo "sbt is not installed."
fi