Skip to content

Zezombye's Blog

Programming, self-improvement, and various stuff

Other stuff

Games I've made:

My setup scripts:

Windows 10

  • Sets the color theme of CMD/PowerShell/Git Bash to be actually readable (based on VS Code's default theme) and font to Consolas

  • Sets better prompts:

    • All prompts are colored, but differently, to help distinguish between CMD/PowerShell/Git Bash
    • CMD/PowerShell prompts have an [Admin] indicator, and a [SYSTEM] indicator if the setup script is run as admin
    • PowerShell/Git Bash prompts display user@hostname if connected via SSH. Unfortunately, the CMD prompt can only display a [SSH] indicator without potential command injection
    • Powershell/Git Bash prompts display the Git branch name if not master or main
    • Powershell prompt now displays the path in the window title
  • Sets accent color to blue, including title bar

  • Sets Explorer to display file extensions, hidden files and system files

  • Sets notepad++ to be the default editor for files without extensions as well as most common text files (feel free to suggest additional extensions)

  • Sets the below .bashrc for Git Bash

Linux (Bash)

  • Sets globstar (allows ** in glob), extglob (allows extended glob matching such as ?(pattern) or *(pattern)), dotglob (allows globbing to match files starting with a dot), and failglob (if doing ls *nomatch*, it will cause an error instead of passing *nomatch* to ls)
  • Modifies the prompt to display the Git branch name if not master or main
  • Sets colors for ls and grep
  • Adds ll alias
  • Disables generation of .pyc files
  • Displays headers and columns in sqlite CLI
  • Vim modifications:
    • Set tab width to 4
    • Disable continuing comment when going on a new line (very annoying when pasting scripts)
    • Case insensitive search
    • Mouse support

Feel free to suggest additional modifications.

Social media