From a7769087a92c2c54e1df5310dfc6a642c391e29f Mon Sep 17 00:00:00 2001 From: 1jamesthompson1 <1jamesthompson1@gmail.com> Date: Mon, 23 Mar 2026 09:57:36 +1300 Subject: [PATCH] Update bashrc and setup.sh - Remove OpenClaw completion - Add hostname to prompt - Add Rust installation to setup.sh --- .bashrc | 7 ++----- setup.sh | 6 ++++++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.bashrc b/.bashrc index da38486..e9925cf 100644 --- a/.bashrc +++ b/.bashrc @@ -93,8 +93,8 @@ if ! shopt -oq posix; then fi fi -# Set the propmt -export PS1='\[\033[01;32m\]\t\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' +# Set the prompt - includes hostname +export PS1='\[\033[01;32m\]\H \[\033[01;34m\]\t\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' # Lazy load conda conda() { @@ -129,6 +129,3 @@ fi # opencode export PATH=/home/james/.opencode/bin:$PATH export PATH="$HOME/.npm-global/bin:$PATH" - -# OpenClaw Completion -source "/home/james/.openclaw/completions/openclaw.bash" diff --git a/setup.sh b/setup.sh index 970aa7a..d4c9efa 100644 --- a/setup.sh +++ b/setup.sh @@ -23,6 +23,12 @@ echo ">>> Installing bash, kitty, and vim..." sudo apt update sudo apt install -y bash kitty vim-gtk3 git curl +# Install Rust +echo ">>> Installing Rust..." +if ! command -v rustc &> /dev/null; then + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y +fi + # 2. Clone your dotfiles (bare repo style) if [ ! -d "$HOME/.dotfiles" ]; then echo ">>> Cloning dotfiles repo..."