updated gitconfig and boostrap
This commit is contained in:
@@ -1,8 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
if grep -q Microsoft /proc/version ; then
|
||||||
|
system_type="WSL1"
|
||||||
|
elif grep -q microsoft /proc/version ; then
|
||||||
|
system_type="WSL2"
|
||||||
|
else
|
||||||
|
system_type=$(uname -s)
|
||||||
|
fi
|
||||||
|
|
||||||
system_type=$(uname -s)
|
if [ "$system_type" = "Linux" ] || [ "$system_type" = "WSL1" ] || [ "$system_type" = "WSL2" ]; then
|
||||||
|
|
||||||
if [ "$system_type" = "Linux" ]; then
|
|
||||||
# install zsh, zplug, neovim
|
# install zsh, zplug, neovim
|
||||||
if ! command -v zsh > /dev/null 2>&1; then
|
if ! command -v zsh > /dev/null 2>&1; then
|
||||||
echo "Installing zsh..."
|
echo "Installing zsh..."
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
[user]
|
[user]
|
||||||
email = www.kunbao2006@gmail.com
|
email = www.kunbao2006@gmail.com
|
||||||
name = PorridgePi
|
name = PorridgePi
|
||||||
|
[credential]
|
||||||
|
helper = manager
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user