Last active
March 4, 2020 19:39
-
-
Save max-hk/665e898b9dde7819fd0ef0a34d46f47c to your computer and use it in GitHub Desktop.
VS code theme Linux-style git bash
This file contains 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
# %programfiles%\Git\etc\profile.d\git-prompt.sh | |
if test -f /etc/profile.d/git-sdk.sh | |
then | |
TITLEPREFIX=SDK-${MSYSTEM#MINGW} | |
fi | |
if test -f ~/.config/git/git-prompt.sh | |
then | |
. ~/.config/git/git-prompt.sh | |
else | |
PS1='\[\033]0;\u@\h: \w\007\]' # set window title | |
PS1="$PS1"'\n' # new line | |
PS1="$PS1"'\[\033[32m\]' # change to green | |
PS1="$PS1"'\u@\h' # user@host<space> | |
PS1="$PS1"'\[\033[0m\]' # change to white | |
PS1="$PS1"':' # show colon | |
PS1="$PS1"'\[\033[0;34m\]' # change to blue | |
PS1="$PS1"'\w' # current working directory | |
if test -z "$WINELOADERNOEXEC" | |
then | |
GIT_EXEC_PATH="$(git --exec-path 2>/dev/null)" | |
COMPLETION_PATH="${GIT_EXEC_PATH%/libexec/git-core}" | |
COMPLETION_PATH="${COMPLETION_PATH%/lib/git-core}" | |
COMPLETION_PATH="$COMPLETION_PATH/share/git/completion" | |
if test -f "$COMPLETION_PATH/git-prompt.sh" | |
then | |
. "$COMPLETION_PATH/git-completion.bash" | |
. "$COMPLETION_PATH/git-prompt.sh" | |
PS1="$PS1"'\[\033[36m\]' # change color to cyan | |
PS1="$PS1"'`__git_ps1`' # bash function | |
fi | |
fi | |
PS1="$PS1"'\[\033[0m\]' # change color | |
PS1="$PS1"'$ ' # prompt: always $ | |
fi | |
MSYS2_PS1="$PS1" # for detection by MSYS2 SDK's bash.basrc | |
# Evaluate all user-specific Bash completion scripts (if any) | |
if test -z "$WINELOADERNOEXEC" | |
then | |
for c in "$HOME"/bash_completion.d/*.bash | |
do | |
# Handle absence of any scripts (or the folder) gracefully | |
test ! -f "$c" || | |
. "$c" | |
done | |
fi |
This file contains 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
# https://stackoverflow.com/a/10901227 | |
echo "PROMPT_COMMAND='history -a'" >> ~/.bash_profile |
This file contains 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
{ | |
"terminal.ansiBrightBlack": "#666666", | |
"terminal.ansiBrightBlue": "#3b8eea", | |
"terminal.ansiBrightCyan": "#29b8db", | |
"terminal.ansiBrightGreen": "#23d18b", | |
"terminal.ansiBrightMagenta": "#d670d6", | |
"terminal.ansiBrightRed": "#f14c4c", | |
"terminal.ansiBrightWhite": "#e5e5e5", | |
"terminal.ansiBrightYellow": "#f5f543", | |
"terminal.ansiBlack": "#000000", | |
"terminal.ansiBlue": "#2472c8", | |
"terminal.ansiCyan": "#11a8cd", | |
"terminal.ansiGreen": "#0dbc79", | |
"terminal.ansiMagenta": "#bc3fbc", | |
"terminal.ansiRed": "#cd3131", | |
"terminal.ansiWhite": "#e5e5e5", | |
"terminal.ansiYellow": "#e5e510", | |
"terminal.background": "#1e1e1e", | |
"terminal.border": "#80808059", | |
"terminal.foreground": "#cccccc", | |
"terminal.selectionBackground": "#ffffff40" | |
} |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0</real> | |
<key>Green Component</key> | |
<real>0</real> | |
<key>Red Component</key> | |
<real>0</real> | |
</dict> | |
<key>Ansi 1 Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.19215686274509805</real> | |
<key>Green Component</key> | |
<real>0.19215686274509805</real> | |
<key>Red Component</key> | |
<real>0.803921568627451</real> | |
</dict> | |
<key>Ansi 10 Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.5450980392156862</real> | |
<key>Green Component</key> | |
<real>0.8196078431372549</real> | |
<key>Red Component</key> | |
<real>0.13725490196078433</real> | |
</dict> | |
<key>Ansi 11 Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.2627450980392157</real> | |
<key>Green Component</key> | |
<real>0.9607843137254902</real> | |
<key>Red Component</key> | |
<real>0.9607843137254902</real> | |
</dict> | |
<key>Ansi 12 Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.9176470588235294</real> | |
<key>Green Component</key> | |
<real>0.5568627450980392</real> | |
<key>Red Component</key> | |
<real>0.23137254901960785</real> | |
</dict> | |
<key>Ansi 13 Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.8392156862745098</real> | |
<key>Green Component</key> | |
<real>0.4392156862745098</real> | |
<key>Red Component</key> | |
<real>0.8392156862745098</real> | |
</dict> | |
<key>Ansi 14 Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.8588235294117647</real> | |
<key>Green Component</key> | |
<real>0.7215686274509804</real> | |
<key>Red Component</key> | |
<real>0.1607843137254902</real> | |
</dict> | |
<key>Ansi 15 Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.8980392156862745</real> | |
<key>Green Component</key> | |
<real>0.8980392156862745</real> | |
<key>Red Component</key> | |
<real>0.8980392156862745</real> | |
</dict> | |
<key>Ansi 2 Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.4745098039215686</real> | |
<key>Green Component</key> | |
<real>0.7372549019607844</real> | |
<key>Red Component</key> | |
<real>0.050980392156862744</real> | |
</dict> | |
<key>Ansi 3 Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.06274509803921569</real> | |
<key>Green Component</key> | |
<real>0.8980392156862745</real> | |
<key>Red Component</key> | |
<real>0.8980392156862745</real> | |
</dict> | |
<key>Ansi 4 Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.7843137254901961</real> | |
<key>Green Component</key> | |
<real>0.4470588235294118</real> | |
<key>Red Component</key> | |
<real>0.1411764705882353</real> | |
</dict> | |
<key>Ansi 5 Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.7372549019607844</real> | |
<key>Green Component</key> | |
<real>0.24705882352941178</real> | |
<key>Red Component</key> | |
<real>0.7372549019607844</real> | |
</dict> | |
<key>Ansi 6 Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.803921568627451</real> | |
<key>Green Component</key> | |
<real>0.6588235294117647</real> | |
<key>Red Component</key> | |
<real>0.06666666666666667</real> | |
</dict> | |
<key>Ansi 7 Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.8980392156862745</real> | |
<key>Green Component</key> | |
<real>0.8980392156862745</real> | |
<key>Red Component</key> | |
<real>0.8980392156862745</real> | |
</dict> | |
<key>Ansi 8 Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.4</real> | |
<key>Green Component</key> | |
<real>0.4</real> | |
<key>Red Component</key> | |
<real>0.4</real> | |
</dict> | |
<key>Ansi 9 Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.2980392156862745</real> | |
<key>Green Component</key> | |
<real>0.2980392156862745</real> | |
<key>Red Component</key> | |
<real>0.9450980392156862</real> | |
</dict> | |
<key>Background Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.11764705882352941</real> | |
<key>Green Component</key> | |
<real>0.11764705882352941</real> | |
<key>Red Component</key> | |
<real>0.11764705882352941</real> | |
</dict> | |
<key>Bold Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.8</real> | |
<key>Green Component</key> | |
<real>0.8</real> | |
<key>Red Component</key> | |
<real>0.8</real> | |
</dict> | |
<key>Cursor Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.8</real> | |
<key>Green Component</key> | |
<real>0.8</real> | |
<key>Red Component</key> | |
<real>0.8</real> | |
</dict> | |
<key>Cursor Text Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.11764705882352941</real> | |
<key>Green Component</key> | |
<real>0.11764705882352941</real> | |
<key>Red Component</key> | |
<real>0.11764705882352941</real> | |
</dict> | |
<key>Foreground Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.8</real> | |
<key>Green Component</key> | |
<real>0.8</real> | |
<key>Red Component</key> | |
<real>0.8</real> | |
</dict> | |
<key>Selected Text Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.8</real> | |
<key>Green Component</key> | |
<real>0.8</real> | |
<key>Red Component</key> | |
<real>0.8</real> | |
</dict> | |
<key>Selection Color</key> | |
<dict> | |
<key>Color Space</key> | |
<string>sRGB</string> | |
<key>Blue Component</key> | |
<real>0.11764705882352941</real> | |
<key>Green Component</key> | |
<real>0.11764705882352941</real> | |
<key>Red Component</key> | |
<real>0.11764705882352941</real> | |
</dict> | |
</dict> | |
</plist> |
This file contains 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
! special | |
*.foreground: #cccccc | |
*.background: #1e1e1e | |
*.cursorColor: #ffffff40 | |
! black | |
*.color0: #000000 | |
*.color8: #666666 | |
! red | |
*.color1: #cd3131 | |
*.color9: #f14c4c | |
! green | |
*.color2: #0dbc79 | |
*.color10: #23d18b | |
! yellow | |
*.color3: #e5e510 | |
*.color11: #f5f543 | |
! blue | |
*.color4: #2472c8 | |
*.color12: #3b8eea | |
! magenta | |
*.color5: #bc3fbc | |
*.color13: #d670d6 | |
! cyan | |
*.color6: #11a8cd | |
*.color14: #29b8db | |
! white | |
*.color7: #e5e5e5 | |
*.color15: #e5e5e5 |
Author
max-hk
commented
Dec 22, 2019
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment