Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 2
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
Expand Down
6 changes: 4 additions & 2 deletions programas/biome/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Installing Biome..."
npm install -g @biomejs/biome
echo -e "\e[32mInstalling Biome...\e[0m"
curl -L https://github.com/biomejs/biome/releases/download/v1.9.4/biome-linux-x64 -o biome
chmod +x biome
sudo mv biome /usr/local/bin/biome
7 changes: 4 additions & 3 deletions programas/broot/setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Installing broot..."
source "$PWD/programas/common/cargo_helper.sh"
install_cargo_crate broot
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
source "$SCRIPT_DIR/../common/cargo_helper.sh" 2>/dev/null || { install_cargo_crate() { cargo install "$1"; }; }

Check warning on line 4 in programas/broot/setup.sh

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Assign this positional parameter to a local variable.

See more on https://sonarcloud.io/project/issues?id=juninmd_dotfiles&issues=AZ5AlKT42JEWDA3CpIxm&open=AZ5AlKT42JEWDA3CpIxm&pullRequest=80
echo -e "\e[32mInstalling broot...\e[0m"
install_cargo_crate broot
8 changes: 6 additions & 2 deletions programas/cline/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Installing cline..."
sudo npm install -g @cline/cli
echo -e "\e[32mInstalling Cline...\e[0m"
if command -v npm &> /dev/null; then
sudo npm install -g @cline/cli
else
echo "npm not found. Skipping."
fi
4 changes: 2 additions & 2 deletions programas/deno/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Installing Deno..."
curl -fsSL https://deno.land/x/install/install.sh | /usr/bin/env sh
echo -e "\e[32mInstalling Deno...\e[0m"
curl -fsSL https://deno.land/x/install/install.sh | /usr/bin/env sh
7 changes: 7 additions & 0 deletions programas/devenv/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh
echo -e "\e[32mInstalling devenv...\e[0m"
if command -v nix > /dev/null 2>&1; then
nix profile install --accept-flake-config github:cachix/devenv/latest
else
echo "Nix not found. Devenv requires Nix to be installed."
fi
4 changes: 2 additions & 2 deletions programas/distrobox/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Installing distrobox..."
curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sudo /usr/bin/env sh
echo -e "\e[32mInstalling Distrobox...\e[0m"
curl -s https://raw.githubusercontent.com/89luca89/distrobox/main/install | sudo /usr/bin/env sh
3 changes: 3 additions & 0 deletions programas/flox/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
echo -e "\e[32mInstalling flox...\e[0m"
curl -fsSL https://install.flox.dev/ | sh
7 changes: 4 additions & 3 deletions programas/helix/setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Installing helix..."
source "$PWD/programas/common/cargo_helper.sh"
install_cargo_crate helix-term --bin hx
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
source "$SCRIPT_DIR/../common/cargo_helper.sh" 2>/dev/null || { install_cargo_crate() { cargo install "$1"; }; }

Check warning on line 4 in programas/helix/setup.sh

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Assign this positional parameter to a local variable.

See more on https://sonarcloud.io/project/issues?id=juninmd_dotfiles&issues=AZ5AlKPr2JEWDA3CpIxi&open=AZ5AlKPr2JEWDA3CpIxi&pullRequest=80
echo -e "\e[32mInstalling Helix...\e[0m"
install_cargo_crate helix-term --bin hx
7 changes: 4 additions & 3 deletions programas/hyperfine/setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Installing hyperfine..."
source "$PWD/programas/common/cargo_helper.sh"
install_cargo_crate hyperfine
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
source "$SCRIPT_DIR/../common/cargo_helper.sh" 2>/dev/null || { install_cargo_crate() { cargo install "$1"; }; }

Check warning on line 4 in programas/hyperfine/setup.sh

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Assign this positional parameter to a local variable.

See more on https://sonarcloud.io/project/issues?id=juninmd_dotfiles&issues=AZ5AlKUC2JEWDA3CpIxo&open=AZ5AlKUC2JEWDA3CpIxo&pullRequest=80
echo -e "\e[32mInstalling Hyperfine...\e[0m"
install_cargo_crate hyperfine
5 changes: 3 additions & 2 deletions programas/just/setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
source "$SCRIPT_DIR/../common/cargo_helper.sh" 2>/dev/null || { install_cargo_crate() { cargo install "$1"; }; }

Check warning on line 4 in programas/just/setup.sh

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Assign this positional parameter to a local variable.

See more on https://sonarcloud.io/project/issues?id=juninmd_dotfiles&issues=AZ5AlKUd2JEWDA3CpIxu&open=AZ5AlKUd2JEWDA3CpIxu&pullRequest=80
echo "Installing just..."
source "$PWD/programas/common/cargo_helper.sh"
install_cargo_crate just
install_cargo_crate just
8 changes: 6 additions & 2 deletions programas/llm/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Installing llm..."
pip3 install --break-system-packages llm
echo -e "\e[32mInstalling LLM...\e[0m"
if command -v uv > /dev/null 2>&1; then
uv tool install llm
else
pip3 install llm --break-system-packages
fi
4 changes: 2 additions & 2 deletions programas/mods/setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Installing mods..."
echo -e "\e[32mInstalling Mods...\e[0m"
source "$PWD/programas/common/cargo_helper.sh"
install_go_package github.com/charmbracelet/mods@latest
install_go_package github.com/charmbracelet/mods@latest
4 changes: 2 additions & 2 deletions programas/moon/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Installing moon..."
curl -fsSL https://moonrepo.dev/install/moon.sh | /usr/bin/env sh
echo -e "\e[32mInstalling Moon...\e[0m"
curl -fsSL https://moonrepo.dev/install/moon.sh | /usr/bin/env sh
7 changes: 4 additions & 3 deletions programas/nushell/setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Installing nushell..."
source "$PWD/programas/common/cargo_helper.sh"
install_cargo_crate nu
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
source "$SCRIPT_DIR/../common/cargo_helper.sh" 2>/dev/null || { install_cargo_crate() { cargo install "$1"; }; }

Check warning on line 4 in programas/nushell/setup.sh

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Assign this positional parameter to a local variable.

See more on https://sonarcloud.io/project/issues?id=juninmd_dotfiles&issues=AZ5AlKTv2JEWDA3CpIxk&open=AZ5AlKTv2JEWDA3CpIxk&pullRequest=80
echo -e "\e[32mInstalling Nushell...\e[0m"
install_cargo_crate nu
4 changes: 2 additions & 2 deletions programas/opentofu/setup.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Installing opentofu..."
echo -e "\e[32mInstalling OpenTofu...\e[0m"
curl --proto '=https' --tlsv1.2 -fsSL https://get.opentofu.org/install-opentofu.sh -o install-opentofu.sh
chmod +x install-opentofu.sh
./install-opentofu.sh --install-method standalone
rm install-opentofu.sh
rm install-opentofu.sh
4 changes: 2 additions & 2 deletions programas/pkgx/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Installing pkgx..."
curl -fsS https://pkgx.sh | /usr/bin/env sh
echo -e "\e[32mInstalling pkgx...\e[0m"
curl -fsS https://pkgx.sh | /usr/bin/env sh
7 changes: 4 additions & 3 deletions programas/procs/setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Installing procs..."
source "$PWD/programas/common/cargo_helper.sh"
install_cargo_crate procs
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
source "$SCRIPT_DIR/../common/cargo_helper.sh" 2>/dev/null || { install_cargo_crate() { cargo install "$1"; }; }

Check warning on line 4 in programas/procs/setup.sh

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Assign this positional parameter to a local variable.

See more on https://sonarcloud.io/project/issues?id=juninmd_dotfiles&issues=AZ5AlKUm2JEWDA3CpIxw&open=AZ5AlKUm2JEWDA3CpIxw&pullRequest=80
echo -e "\e[32mInstalling Procs...\e[0m"
install_cargo_crate procs
7 changes: 4 additions & 3 deletions programas/pueue/setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Installing pueue..."
source "$PWD/programas/common/cargo_helper.sh"
install_cargo_crate pueue
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
source "$SCRIPT_DIR/../common/cargo_helper.sh" 2>/dev/null || { install_cargo_crate() { cargo install "$1"; }; }

Check warning on line 4 in programas/pueue/setup.sh

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Assign this positional parameter to a local variable.

See more on https://sonarcloud.io/project/issues?id=juninmd_dotfiles&issues=AZ5AlKUT2JEWDA3CpIxs&open=AZ5AlKUT2JEWDA3CpIxs&pullRequest=80
echo -e "\e[32mInstalling Pueue...\e[0m"
install_cargo_crate pueue
8 changes: 6 additions & 2 deletions programas/ruff/setup.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Installing Ruff..."
pip3 install --break-system-packages ruff
echo -e "\e[32mInstalling Ruff...\e[0m"
if command -v uv > /dev/null 2>&1; then
uv tool install ruff
else
pip3 install ruff --break-system-packages
fi
3 changes: 3 additions & 0 deletions programas/rye/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
echo -e "\e[32mInstalling Rye...\e[0m"
curl -sSf https://rye-up.com/get | sh
7 changes: 4 additions & 3 deletions programas/tealdeer/setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail
echo "Installing tealdeer..."
source "$PWD/programas/common/cargo_helper.sh"
install_cargo_crate tealdeer
SCRIPT_DIR="$(dirname "$(readlink -f "$0")")"
source "$SCRIPT_DIR/../common/cargo_helper.sh" 2>/dev/null || { install_cargo_crate() { cargo install "$1"; }; }

Check warning on line 4 in programas/tealdeer/setup.sh

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Assign this positional parameter to a local variable.

See more on https://sonarcloud.io/project/issues?id=juninmd_dotfiles&issues=AZ5AlKUL2JEWDA3CpIxq&open=AZ5AlKUL2JEWDA3CpIxq&pullRequest=80
echo -e "\e[32mInstalling Tealdeer...\e[0m"
install_cargo_crate tealdeer
33 changes: 28 additions & 5 deletions setup-2026.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ if [[ -z "$PROFILE" ]]; then
echo ""
PROFILE_CHOICE=$("$GUM" choose \
--height=20 \
--cursor=" " \
--cursor=" " \
--header="Escolha o seu nível de poder no Nexus:" \
--header.foreground="#ff7edb" \
--cursor.foreground="#72f1b8" \
Expand Down Expand Up @@ -214,6 +214,29 @@ log "Perfil selecionado: $PROFILE"

# Human-readable descriptions for the modules
declare -A MOD_DESC=(
["cline"]="🤖 Cline (Autonomous coding agent CLI)"

["just"]="🤖 Just (Command Runner)"
["mods"]="🤖 Mods (AI on the command line)"
["llm"]="🧠 LLM (Access Large Language Models)"
["helix"]="🧬 Helix (Post-modern text editor)"
["nushell"]="🐚 Nushell (A new type of shell)"
["deno"]="🦕 Deno (Modern JS/TS runtime)"
["opentofu"]="🏗️ OpenTofu (Infrastructure as Code)"
["distrobox"]="📦 Distrobox (Run any linux distro in terminal)"
["moon"]="🌙 Moon (Build system for JS/TS)"
["biome"]="🚀 Biome (Fast JS/TS toolchain)"
["ruff"]="⚡ Ruff (Extremely fast Python linter)"
["pkgx"]="📦 pkgx (Blazing fast package manager)"
["devenv"]="⚙️ Devenv (Declarative Developer Environments)"
["flox"]="❄️ Flox (Developer environments for everyone)"
["rye"]="🌾 Rye (Hassle-free Python experience)"
["broot"]="🌲 Broot (A new way to see and navigate directory trees)"
["pueue"]="🗃️ Pueue (Command-line task management tool)"
["procs"]="🔍 Procs (A modern replacement for ps)"
["tealdeer"]="🦌 Tealdeer (A very fast implementation of tldr in Rust)"
["hyperfine"]="⏱️ Hyperfine (A command-line benchmarking tool)"

["mise"]="🛠️ Mise (Polyglot Tool Version Manager)"
["atuin"]="🐢 Atuin (Magical Shell History)"
["devbox"]="📦 Devbox (Portable Developer Environments)"
Expand Down Expand Up @@ -343,13 +366,13 @@ if command -v "$GUM" &> /dev/null; then
# Note: Use `gum choose` because it supports `--selected` natively (unlike `gum filter`),
# allowing us to pre-select modules based on the chosen profile.
# We increased the height and added a search hint (use '/' to search in modern gum).
SELECTED_TEXT=$("$GUM" choose --no-limit --cursor=" " \
--height=30 \
SELECTED_TEXT=$("$GUM" choose --no-limit --cursor=" " \
--height=35 \
--selected="${DEFAULTS}" \
--selected.foreground="#36f9f6" \
--cursor.foreground="#ff7edb" \
--item.foreground="#f8f8f2" \
--header="Selecione os módulos (pressione '/' para buscar):" \
--header="🚀 Selecione os módulos (pressione '/' para buscar):" \
--header.foreground="#fede5d" \
"${CHOICES[@]}")

Expand Down Expand Up @@ -482,4 +505,4 @@ fi
# Cleanup
if [ -n "$TMP_GUM_DIR" ] && [ -d "$TMP_GUM_DIR" ]; then
rm -rf "$TMP_GUM_DIR"
fi
fi
Loading