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..."