Skip to content

Phlogix/Terminal-Conf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

⚡ setup-terminal.sh

One script. Fresh machine. Perfect terminal.

A single bash script that transforms a bare Debian/Ubuntu/Pardus install into a fully configured developer environment — with a beautiful terminal, all essential dev tools, and zero manual steps.


🚀 Usage

⚡ Full Automatic — One Line, Zero Cloning

No repo cloning. No file downloading. Just paste and run.

curl -fsSL https://raw.githubusercontent.com/Phlogix/Terminal-Conf/main/setup-terminal.sh | bash

Fetches the latest version of the script directly from GitHub and runs it in one shot.
Recommended for fresh machines and remote servers.


🗂️ Semi-Manual — Clone & Run

Clone the repo first if you want to inspect or modify the script before running.

git clone https://github.com/Phlogix/Terminal-Conf.git
cd Terminal-Conf
bash setup-terminal.sh

Useful when you want to customize the script (change username, swap tools, pin versions)
before applying it to your machine.


Either way — go make coffee. ☕ It handles the rest.


📦 What Gets Installed

🖥️ Terminal Stack

Component Details
Zsh Default shell
Oh My Zsh Shell framework
Powerlevel10k Prompt theme (lean style, dotted separator)
zsh-autosuggestions Grey inline command suggestions
zsh-syntax-highlighting Green = valid, Red = invalid
JetBrainsMono Nerd Font Icons + glyphs for the prompt

🛠️ Dev Tools

Tool Version
Python 3.13 (via deadsnakes PPA)
Java OpenJDK 21 LTS
Miniconda Latest (conda init zsh auto-applied)
NVM Latest
Node.js LTS (via NVM)
npm Bundled with Node

⚙️ Config Files Written

File Purpose
~/.zshrc Zsh config with all plugins + NVM + conda init
~/.p10k.zsh Powerlevel10k prompt config (lean, 2-line, dotted)

🔁 Idempotent

Safe to run multiple times. Each step checks if already installed and skips if so. No duplicate installs, no broken configs.


🔒 SSH Fix Included

The script adds a post-SSH reset hook to ~/.zshrc:

ssh() {
  command ssh "$@"
  reset
}

Your local terminal prompt will never get corrupted after disconnecting from a remote server.


🎨 After Install

  1. Set terminal fontJetBrainsMono Nerd Font 12
  2. Log out and back in (or run exec zsh)
  3. Run p10k configure anytime to re-customize your prompt

📋 Requirements

  • Debian / Ubuntu / Pardus (or any apt-based distro)
  • sudo access
  • Internet connection

🧩 Prompt Layout

╭─ ~/your/directory ··················· base  14:37:22
╰─❯

Left: current directory
Right: conda env · node version · timestamp
Indicators: exit status · execution time · background jobs


📁 File Structure After Install

~/.oh-my-zsh/
~/.oh-my-zsh/custom/themes/powerlevel10k/
~/.oh-my-zsh/custom/plugins/zsh-autosuggestions/
~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/
~/.nvm/
~/miniconda3/
~/.local/share/fonts/         ← JetBrainsMono
~/.zshrc                      ← written by script
~/.p10k.zsh                   ← written by script

Built for Pardus GNOME · Radxa X4 · 2025

About

This script, install python, miniconda, npm and lastly oh my zsh and apply a default configuration.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages