Terminal

Browse posts by tag

Customise Terminal

December 21, 2025

🎯 Goal

  • Hide @computername
  • Use a clean, professional prompt
  • Reload config safely

✅ Step 1: Open zsh config with vi

vi ~/.zshrc

✅ Step 2: Add the custom prompt

# --- Custom prompt ---

# Colors
BLUE="%F{blue}"
RESET="%f"

# Prompt with color
PROMPT="${BLUE}%1~${RESET} ❯ "

✅ Step 4: Save and exit vi


✅ Step 5: Reload the config

source ~/.zshrc

Your prompt updates immediately.


🔁 Do I always need to run source ~/.zshrc?

  • ✅ Yes → to apply changes now
  • ❌ No → if you open a new Terminal window

Managing AWS Accounts in Terminal

February 27, 2025

Register AWS Accounts to the Terminal

  1. Set AWS Credential

  1. The command to check the Current AWS Credentials
aws sts get-caller-identity
  1. The command to clear the AWS Account from the terminal
unset AWS_ACCESS_KEY_ID
unset AWS_SECRET_ACCESS_KEY
unset AWS_SESSION_TOKEN