Skip to content

Latest commit

 

History

History

atws-shell-theme

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

✨ atws-shell-theme

A custom theme for oh-my-posh that uses the Hack font and is based on velvet.

atws

Quick Install for Bash

wget https://raw.githubusercontent.com/Austrian-Web-Services/config/main/scripts/atws-shell-theme/install.sh && sudo bash install.sh && rm install.sh

add to your settings.json:

{
  "terminal.integrated.fontFamily": "Hack NF"
}

Usage

  1. Install oh-my-posh

Powershell

Set-ExecutionPolicy Bypass -Scope Process -Force; Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://ohmyposh.dev/install.ps1'))

Bash

sudo wget https://github.com/JanDeDobbeleer/oh-my-posh/releases/latest/download/posh-linux-amd64 -O /usr/local/bin/oh-my-posh

sudo chmod +x /usr/local/bin/oh-my-posh
  1. Install the Hack NF font
oh-my-posh font install Hack
  1. Configure your terminal to use the Hack NF font. Use the value Hack NF. See the docs on how to configure your terminal.

For VSCode, add the following to your settings.json:

{
  "terminal.integrated.fontFamily": "Hack NF"
}
  1. Use the atws theme at startup

Powershell, use the theme at startup using $PROFILE

New-Item -Path $PROFILE -Type File -Force -Value "oh-my-posh init pwsh --config 'https://raw.githubusercontent.com/Austrian-Web-Services/config/main/scripts/atws-shell-theme/atws.omp.json' | Invoke-Expression"

# reload your profile
. $PROFILE

Bash, use the theme at startup using .bashrc

echo "$(oh-my-posh init bash --config 'https://raw.githubusercontent.com/Austrian-Web-Services/config/main/scripts/atws-shell-theme/atws.omp.json')" >> ~/.bashrc

# reload your profile
exec bash