Skip to content

Instantly share code, notes, and snippets.

View starship.toml
# ███████╗████████╗ █████╗ ██████╗ ███████╗██╗ ██╗██╗██████╗
# ██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██╔════╝██║ ██║██║██╔══██╗
# ███████╗ ██║ ███████║██████╔╝███████╗███████║██║██████╔╝
# ╚════██║ ██║ ██╔══██║██╔══██╗╚════██║██╔══██║██║██╔═══╝
# ███████║ ██║ ██║ ██║██║ ██║███████║██║ ██║██║██║
# ╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝╚═╝
# Sets the format for the modules.
format = """
$username\
@meetmistry0
meetmistry0 / .zshrc
Last active Sep 19, 2021
Starship zsh config
View .zshrc
# ███████╗███████╗██╗ ██╗██████╗ ██████╗
# ╚══███╔╝██╔════╝██║ ██║██╔══██╗██╔════╝
# ███╔╝ ███████╗███████║██████╔╝██║
# ███╔╝ ╚════██║██╔══██║██╔══██╗██║
# ███████╗███████║██║ ██║██║ ██║╚██████╗
# ╚══════╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝
# apt aliases.
alias update="sudo apt update && sudo apt upgrade"
alias install="sudo apt install"
@meetmistry0
meetmistry0 / profile.ps1
Last active Sep 12, 2021
Powershell_profile.ps1
View profile.ps1
# ██████╗ ██╗ ██╗███████╗██╗ ██╗ ██████╗ ██████╗ ██████╗ ███████╗██╗██╗ ███████╗
# ██╔══██╗██║ ██║██╔════╝██║ ██║ ██╔══██╗██╔══██╗██╔═══██╗██╔════╝██║██║ ██╔════╝
# ██████╔╝██║ █╗ ██║███████╗███████║ ██████╔╝██████╔╝██║ ██║█████╗ ██║██║ █████╗
# ██╔═══╝ ██║███╗██║╚════██║██╔══██║ ██╔═══╝ ██╔══██╗██║ ██║██╔══╝ ██║██║ ██╔══╝
# ██║ ╚███╔███╔╝███████║██║ ██║ ██║ ██║ ██║╚██████╔╝██║ ██║███████╗███████╗
# ╚═╝ ╚══╝╚══╝ ╚══════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝╚══════╝
# Invokes starship for prompt.
Invoke-Expression (&starship init powershell)