Ctrl+G: edit the zsh command line in $EDITOR.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Half-Life theme for Starship | |
| # Ported from Oh My Posh's themes/half-life.omp.json. | |
| add_newline = false | |
| format = '$username[in ](fg:#FFFFFF)$directory$git_branch$git_status[λ ](fg:#D75F00)' | |
| [username] | |
| show_always = true | |
| style_user = 'fg:#7E46B6' |
Loosely based on Karl Zylinski's Breakout tutorial
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if [[ ! -d "$HOME/.antigen" ]]; then | |
| # automatically download antigen | |
| git clone https://github.com/zsh-users/antigen.git "$HOME/.antigen" | |
| fi | |
| source "$HOME/.antigen/antigen.zsh" | |
| # --- zsh plugins --- | |
| antigen use belak/zsh-utils --branch=main |
Balls
Most of the code was stolen from Vendicated/Vencord.
Somewhat inspired by https://github.com/JakeChampion/fetch/blob/main/fetch.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Pre 2024 Youtube UI | |
| // @version 1.1.2 | |
| // @description Modified version of https://greasyfork.org/en/scripts/488254 | |
| // @author Hared, Arjix | |
| // @namespace https://github.com/ArjixWasTaken | |
| // @match *.youtube.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=youtube.com | |
| // @run-at document-start | |
| // @grant none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function ??() { | |
| $TMPFILE = Get-ChildItem (New-TemporaryFile) | Rename-Item -NewName { [IO.Path]::ChangeExtension($_, ".ps1") } -PassThru | |
| github-copilot-cli what-the-shell "$args (for powershell, don't use powershell aliases, eg ls => Get-ChildItem)" --shellout $TMPFILE.FullName | |
| if (Test-Path $TMPFILE.FullName) { | |
| Invoke-Expression $TMPFILE | Write-Output; | |
| } else { | |
| Write-Output "Apologies! Extracting command failed"; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ["Africa/Abidjan","Africa/Accra","Africa/Addis_Ababa","Africa/Algiers","Africa/Asmera","Africa/Bamako","Africa/Bangui","Africa/Banjul","Africa/Bissau","Africa/Blantyre","Africa/Brazzaville","Africa/Bujumbura","Africa/Cairo","Africa/Casablanca","Africa/Ceuta","Africa/Conakry","Africa/Dakar","Africa/Dar_es_Salaam","Africa/Djibouti","Africa/Douala","Africa/El_Aaiun","Africa/Freetown","Africa/Gaborone","Africa/Harare","Africa/Johannesburg","Africa/Juba","Africa/Kampala","Africa/Khartoum","Africa/Kigali","Africa/Kinshasa","Africa/Lagos","Africa/Libreville","Africa/Lome","Africa/Luanda","Africa/Lubumbashi","Africa/Lusaka","Africa/Malabo","Africa/Maputo","Africa/Maseru","Africa/Mbabane","Africa/Mogadishu","Africa/Monrovia","Africa/Nairobi","Africa/Ndjamena","Africa/Niamey","Africa/Nouakchott","Africa/Ouagadougou","Africa/Porto-Novo","Africa/Sao_Tome","Africa/Tripoli","Africa/Tunis","Africa/Windhoek","America/Adak","America/Anchorage","America/Anguilla","America/Antigua","America/Araguaina","America/Argentina/La_Rioj |
NewerOlder