Desktop icons Click the right mouse button, select Properties, modify the working directory to your own git directory:
Open quick Edit, when the left mouse button can randomly select text, enter key copy. The right mouse button is pasted. In addition, the pasted shortcut key is the Inerst key
To modify the default window size
If you feel that your git bash is running slow, modify the GIT installation directory Etc/profile file contents, comment out the PS1 definition part of the code, and define PS1 as simple: ps1= "$", the speed will be greatly improved
?
123456789101112131415 |
# non-printable characters must be enclosed inside \[ and \]
#PS1=‘\[\033]0;$MSYSTEM:${PWD//[^[:ascii:]]/?}\007\]‘ # set window title
#PS1="$PS1"‘\n‘ # new line
#PS1="$PS1"‘\[\033[32m\]‘ # change color
#PS1="$PS1"‘\[email protected]\h ‘ # [email protected]<space>
#PS1="$PS1"‘\[\033[33m\]‘ # change color
#PS1="$PS1"‘\w‘ # current working directory
#if test -z "$WINELOADERNOEXEC"
#then
# PS1="$PS1"‘$(__git_ps1)‘ # bash function
#fi
#PS1="$PS1"‘\[\033[0m\]‘ # change color
#PS1="$PS1"‘\n‘ # new line
#PS1="$PS1"‘$ ‘ # prompt: always $
PS1=
"$ "
|
Msysgit git bash easy copy and paste, default working directory, window size, speed and other tips