Update bashrc and setup.sh
- Remove OpenClaw completion - Add hostname to prompt - Add Rust installation to setup.sh
This commit is contained in:
7
.bashrc
7
.bashrc
@@ -93,8 +93,8 @@ if ! shopt -oq posix; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set the propmt
|
# Set the prompt - includes hostname
|
||||||
export PS1='\[\033[01;32m\]\t\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
export PS1='\[\033[01;32m\]\H \[\033[01;34m\]\t\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
|
||||||
|
|
||||||
# Lazy load conda
|
# Lazy load conda
|
||||||
conda() {
|
conda() {
|
||||||
@@ -129,6 +129,3 @@ fi
|
|||||||
# opencode
|
# opencode
|
||||||
export PATH=/home/james/.opencode/bin:$PATH
|
export PATH=/home/james/.opencode/bin:$PATH
|
||||||
export PATH="$HOME/.npm-global/bin:$PATH"
|
export PATH="$HOME/.npm-global/bin:$PATH"
|
||||||
|
|
||||||
# OpenClaw Completion
|
|
||||||
source "/home/james/.openclaw/completions/openclaw.bash"
|
|
||||||
|
|||||||
6
setup.sh
6
setup.sh
@@ -23,6 +23,12 @@ echo ">>> Installing bash, kitty, and vim..."
|
|||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y bash kitty vim-gtk3 git curl
|
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)
|
# 2. Clone your dotfiles (bare repo style)
|
||||||
if [ ! -d "$HOME/.dotfiles" ]; then
|
if [ ! -d "$HOME/.dotfiles" ]; then
|
||||||
echo ">>> Cloning dotfiles repo..."
|
echo ">>> Cloning dotfiles repo..."
|
||||||
|
|||||||
Reference in New Issue
Block a user