- Windows Terminal here
Windows Terminal uses the GPU to render its text, thus providing improved performance over the default Windows command line experience.
- Turn Terminal into this -->
Configure Powershell
- Make powershell profile file
-- PS>
notepad $profile
If needed save profile. -- insert
# Set your alias for your favourite editor
Set-Alias -Name editor -Value code
Set-Alias -Name edit -Value editor
Set-Alias -Name np -Value notepad
function profile_alias { editor $PROFILE }
Set-Alias -Name profile -Value profile_alias
function reload_alias { & $PROFILE }
Set-Alias -Name reload -Value reload_alias
function snip_it {explorer ms-screenclip:}
Set-Alias -Name sni -Value snip_it
#On startup load starship - comment out to return to default
Invoke-Expression (&starship init powershell)
Install Nerd Fonts
- Install Nerd Fonts Here -- Install Fonts, extract, select all, right-click, install
Install Scoop
-
Read about Scoop here
-- ps>
iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
Install Starship
-
Read about Starship here for GIT -- or the main site www.starship.rs
-
Install
-- PS>
scoop install starship
-- PS>
mkdir ~/.config
-- PS>
notepad ~/.config/starship.toml
-- Save and close or configure
Configure Starship
-
Update
starship.toml
Readme-- PS>
notepad ~/.config/starship.toml
# ~/.config/starship.toml
add_newline = false
# Replace the "❯" symbol in the prompt with "➜"
[character] # The name of the module we are configuring is "character"
# success_symbol = "[➜](bold green)" # The "success_symbol" segment is being set to "➜" with the color "bold green"
[line_break]
disabled = true
[package]
disabled = true
[nodejs]
disabled = true
# ~/.config/starship.toml
[python]
symbol = "👾 "
pyenv_version_name = true
[rlang]
format = "with [📐 $version](blue bold) "
[dotnet]
symbol = "🥅 "
style = "green"
heuristic = false
[battery]
full_symbol = "🔋 "
charging_symbol = "⚡️ "
discharging_symbol = "💀 "
[[battery.display]]
threshold = 10
style = "bold red"