/dotfiles

My dotfiles, including PowerShell and zsh scripts

Primary LanguagePowerShellMIT LicenseMIT

dotfiles

Some of my favorite aliases for my .zshrc file. Not anymore.

This repo contains my dotfiles for zsh, PowerShell, Windows Terminal and more.

Looks & Features

PowerShell

Go to Oh-My-Posh for information on how to install Oh-My-Posh, then:

$ThemeSettings

Then check your theme folder, navigate there, and put SpencerTechy.psm1 there.

Reload theme by:

Set-Theme SpencerTechy

Also, here's my PowerShell configuration profile: ps_profile.ps1 for reference.

I use:

And I removed PowerShell's default alias via:

# Remove curl alias
If (Test-Path Alias:curl) {Remove-Item Alias:curl}
If (Test-Path Alias:curl) {Remove-Item Alias:curl}

See ps_profile.ps1 for detailed information.

Windows Terminal

Prerequisites

  1. Set Windows Theme: DARK

  1. Set Windows theme color: #171717
  2. Show theme colors on title bar and window frame:

Windows Terminal icon files

Command Prompt PowerShell Arch Linux
CMD CMD CMD

Put icons under folder:

C:\<USER_NAME>\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\RoamingState

Set icon in profile:

"icon": "ms-appdata:///roaming/cmd.ico"

Windows Terminal themes

Nord Theme:

{
  "name": "Nord",
  "background": "#2e3440",
  "foreground": "#eceff4",
  "brightBlack": "#2e3440",
  "brightBlue": "#5e81ac",
  "brightCyan": "#8fbcbb",
  "brightGreen": "#a3be8c",
  "brightPurple": "#b48ead",
  "brightRed": "#bf616a",
  "brightWhite": "#eceff4",
  "brightYellow": "#ebcb8b",
  "black": "#2e3440",
  "blue": "#5e81ac",
  "cyan": "#8fbcbb",
  "green": "#a3be8c",
  "purple": "#b48ead",
  "red": "#bf616a",
  "white": "#eceff4",
  "yellow": "#ebcb8b"
}

❗ Windows Terminal does not yet work with ColorTool, so you need to convert your desired theme configurations into json. Solarized Dark and Solarized Light are included as default options in Windows Terminal, but for other themes you'll need to apply them manually. The Nord Theme above is an example.

For more information, see wt_profiles.json.

ZSH

Manjaro

Arch Linux WSL

Config files: _wsl_zshrc

License

This is published via the MIT License.


🚯 Dotfiles ©Spencer Woo. Released under the MIT License.

Authored and maintained by Spencer Woo.

@Blog - ⒿJike - @GitHub