Skip to content

Instantly share code, notes, and snippets.

View kgat96's full-sized avatar
🎯
Focusing

Kage Shen kgat96

🎯
Focusing
View GitHub Profile
@MarioRinaldi
MarioRinaldi / .bash_aliases
Created February 28, 2014 22:03
GIT PS1 bash prompt
# Customize BASH PS1 prompt to show current GIT repository and branch.
# by Mike Stewart - http://MediaDoneRight.com
# SETUP CONSTANTS
# Bunch-o-predefined colors. Makes reading code easier than escape sequences.
# I don't remember where I found this. o_O
# Reset
Color_Off="\[\033[0m\]" # Text Reset
@nibocn
nibocn / Cygwin右键菜单.md
Last active May 8, 2023 03:39
Windows中添加Cygwin的右键菜单

在注册表中创建信息

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Directory\Background\shell\Open Cygwin]
"Icon"="D:\\Software\\cygwin64\\Cygwin.ico"

[HKEY_CLASSES_ROOT\Directory\Background\shell\Open Cygwin\Command]
@="D:\\Software\\cygwin64\\bin\\mintty.exe -i /Cygwin-Terminal.ico /bin/env _T=\"%V\" /bin/zsh -l"