Skip to content

Instantly share code, notes, and snippets.

@ultrasamad
Last active October 10, 2020 11:04
Show Gist options
  • Save ultrasamad/033436b624f8877f5a5c3bdcc159ddbe to your computer and use it in GitHub Desktop.
Save ultrasamad/033436b624f8877f5a5c3bdcc159ddbe to your computer and use it in GitHub Desktop.

Windows terminal settings

This is my windows terminal settings file

// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation

{
    "$schema": "https://aka.ms/terminal-profiles-schema",

    "defaultProfile": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",

  "profiles": [
    {
      // Make changes here to the powershell.exe profile
      "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
      "name": "Windows PowerShell",
      "commandline": "powershell.exe",
      "hidden": false,
      "useAcrylic": true,
      "acrylicOpacity": 0.5,
      "background": "#000000",
      "backgroundImage": "%USERPROFILE%\\Pictures\\sunrise.jpg",
      "backgroundImageOpacity": 0.5,
      "backgroundImageStretchMode":  "uniformToFill"
    },
    {
      // Make changes here to the cmd.exe profile
      "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
      "name": "cmd",
      "commandline": "cmd.exe",
      "hidden": false,
      "useAcrylic": true,
      "acrylicOpacity": 0.5,
      "background": "#000000",
      "backgroundImage": "%USERPROFILE%\\Pictures\\sunrise.jpg",
      "backgroundImageOpacity": 0.5,
      "backgroundImageStretchMode": "uniformToFill"
    },
    {
      // Make changes here to the bash.exe profile
      "name": "Git Bash",
      "guid": "{b0d4f596-b410-4f50-ab9e-5deedd2de29c}",
      "startingDirectory": "%USERPROFILE%",
      "useAcrylic": true,
      "acrylicOpacity": 0.5,
      "background": "#000000",
      "backgroundImage": "%USERPROFILE%\\Pictures\\sunrise.jpg",
      "backgroundImageOpacity": 0.5,
      "backgroundImageStretchMode": "uniformToFill",
      "closeOnExit": true,
      "colorScheme": "Campbell",
      "commandline": "\"%PROGRAMFILES%\\git\\bin\\bash.exe\" --login -i -l",
      "cursorColor": "#FFFFFF",
      "cursorShape": "bar",
      "historySize": 9001,
      "icon": "%PROGRAMFILES%\\git\\mingw64\\share\\git\\git-for-windows.ico",
      "padding": "0, 0, 0, 0",
      "snapOnInput": true

    },
    {
      "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
      "hidden": false,
      "name": "Azure Cloud Shell",
      "source": "Windows.Terminal.Azure"
    }
  ],

    // Add custom color schemes to this array
    "schemes": [],

    // Add any keybinding overrides to this array.
    // To unbind a default keybinding, set the command to "unbound"
    "keybindings": [
      {
        "command": "copy",
        "keys": [ "ctrl+c" ]
      },
      {
        "command": "paste",
        "keys": [ "ctrl+v" ]
      },
      {
        "command": "newTab",
        "keys": [ "ctr+n" ]
      },
      {
        "command": "closePane",
        "keys":  ["ctrl+w"]
      }
    ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment