- Clone the repository (in the home directory):
git clone https://github.com/chingkhei-th/dotfiles.git
Install Terminal-icons:
Install-Module -Name Terminal-Icons -Repository PSGallery- Clone the repository (in the home directory):
git clone https://github.com/chingkhei-th/dotfiles.git
- Install Starship:
curl -sS https://starship.rs/install.sh | sh - Set up your shell to use Starship:
This will add
echo 'eval "$(starship init bash)"' >> ~/.bashrc
eval "$(starship init bash)"this line in the~/.bashrcfile.`
- From
$Homedirectory. To make sure runcd $HOME. - Make the script executable:
chmod +x ~/dotfiles/ubuntu/setup.sh - Run the script as admin:
sudo ~/dotfiles/ubuntu/setup.sh
or Manually create the symbolic links:
- Make sure you are in home directory, if not run:
cd $home
- For creating symbolic link for Starship, run:
ln -s "$HOME/dotfiles/ubuntu/starship/starship.toml" "$HOME/.config/starship.toml"
- Do the same for others.
- The script automatically detects if a symbolic link already exists or if there’s a conflicting file/directory.
- Modify the paths if needed, depending on how your dotfiles structure is organized.]