Skip to content

Commit

Permalink
feat: provide env script
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Dec 8, 2024
1 parent 6db3ea0 commit 56c1e20
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ main_xbps() {
main_pkg() {
pkg_packages=()
declare -A pkg_packages_replace=(
[lolcat]="-"
[tmuxp]="-"
["dua-cli"]="dua"
["speedtest-cli"]="speedtest-go"
)

for package in "${packages[@]}"; do
Expand All @@ -102,7 +106,7 @@ main_pkg() {
done

msg "install ${pkg_packages[*]} with xbps"
require_xbps "${pkg_packages[@]}"
require_pkg "${pkg_packages[@]}"
}

main_pacman() {
Expand Down
4 changes: 4 additions & 0 deletions scripts/fetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ main_xbps() {
require_xbps neofetch onefetch tokei
}

main_pkg() {
require_pkg neofetch onefetch tokei
}

main_brew() {
require_brew neofetch onefetch tokei
}
Expand Down
4 changes: 4 additions & 0 deletions scripts/zsh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ main_xbps() {
require_xbps zsh
}

main_pkg() {
require_pkg zsh
}

main_apt() {
require_apt zsh
}
Expand Down

0 comments on commit 56c1e20

Please sign in to comment.