💻 Public repo for my personal dotfiles.
I'm using Starship, visit starship.rs to read more.
- With Curl
curl -fsSL https://starship.rs/install.sh | bash
- With Homebrew
brew install starship
- With Scoop
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
# or shorter
iwr -useb get.scoop.sh | iex
scoop install starship
Add the following to the end of ~/.zshrc
:
# ~/.zshrc
eval "$(starship init zsh)"
Add the following to the end of Microsoft.PowerShell_profile.ps1
.
You can check the location of this file by querying the $PROFILE
variable in PowerShell.
Typically the path is ~\Documents\PowerShell\Microsoft.PowerShell_profile.ps1
or ~/.config/powershell/Microsoft.PowerShell_profile.ps1
on -Nix.
# WARNING: this will replace your Powershell profile
Set-Content -Value 'Invoke-Expression (&starship init powershell)' -Path $PROFILE
or manually edit the file with your favourite text editor and add this line to the end of file
Invoke-Expression (&starship init powershell)
To get started configuring starship, create the following file: ~/.config/starship.toml
-Nix
mkdir -p ~/.config && touch ~/.config/starship.toml
-Windows
New-Item -Type File -Path ~/.config/starship.toml -Force
After that replace the content with my version or build your own :)
kubectx repository provides both kubectx
and kubens
tools.
kubectx
helps you switch between clusters back and forth:
kubens
helps you switch between Kubernetes namespaces smoothly: