From e518858fa3fa5fdd490c1230915b03e15803179d Mon Sep 17 00:00:00 2001 From: kaelemc <62122480+kaelemc@users.noreply.github.com.> Date: Tue, 3 Dec 2024 11:25:50 +1300 Subject: [PATCH] Add `cd` to home in .zshrc and .bashrc --- oobe.sh | 2 ++ zsh/.zshrc | 2 ++ 2 files changed, 4 insertions(+) diff --git a/oobe.sh b/oobe.sh index 4192103..209da2a 100644 --- a/oobe.sh +++ b/oobe.sh @@ -38,6 +38,8 @@ if getent passwd "$DEFAULT_UID" > /dev/null ; then echo -e "\033[32mWelcome to Containerlab's WSL distribution\033[0m" + echo "cd ~" >> /home/clab/.bashrc + PS3=" Please select which shell you'd like to use: " diff --git a/zsh/.zshrc b/zsh/.zshrc index a41970f..8ce0ff5 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -135,3 +135,5 @@ eval "$(pyenv init -)" # go path export PATH=$PATH:/usr/local/go/bin:~/go/bin + +cd ~ \ No newline at end of file