Skip to content

Instantly share code, notes, and snippets.

@meetmistry0
meetmistry0 / config.fish
Last active Jun 8, 2022
Fish shell config
View config.fish
# Remove fish default greeting
set fish_greeting ""
# apt aliases
alias update "sudo apt update && sudo apt upgrade"
alias install "sudo apt install"
alias purge "sudo apt purge"
alias clean "sudo apt autoclean"
alias remove "sudo apt autoremove"
alias uninstall "sudo apt remove"
@meetmistry0
meetmistry0 / profile.ps1
Created Jun 3, 2022
Powershell Profile
View profile.ps1
# PS-Readline
Import-Module PSReadLine
Set-PSReadLineOption -PredictionSource History
Set-PSReadLineOption -EditMode Windows
# Lists all available options in block form instead of just autocompleting (Going one by one).
Set-PSReadlineKeyHandler -Chord Tab -Function MenuComplete
# Terminal Icons
Import-Module -Name Terminal-Icons
@meetmistry0
meetmistry0 / starship.toml
Last active Jan 10, 2022
Starship prompt config
View starship.toml
# Sets the format for the modules.
format = """
$username\
$hostname\
$shlvl\
$singularity\
$kubernetes\
$directory\
$vcsh\
$git_branch\