zoukankan      html  css  js  c++  java
  • msysgit之git bash方便的复制粘贴,默认工作目录,窗口大小,提高速度等小窍门

    桌面图标点鼠标右键,选择属性,修改工作目录到自己的git目录:

    打开快速编辑,这时候鼠标左键可以随意选取文本,enter键复制。鼠标右键是粘贴。另外,粘贴的快捷键是 inerst键

    修改默认窗口大小

    如果你感觉你的git bash运行反应速度很慢,修改git安装目录 etc/profile 文件内容,把PS1定义部分代码注释掉,把PS1定义为简单的: PS1="$ ",速度会得到大力提升

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    # non-printable characters must be enclosed inside [ and ]
    #PS1='[33]0;$MSYSTEM:${PWD//[^[:ascii:]]/?}07]' # set window title
    #PS1="$PS1"' '                 # new line
    #PS1="$PS1"'[33[32m]'       # change color
    #PS1="$PS1"'u@h '             # user@host<space>
    #PS1="$PS1"'[33[33m]'       # change color
    #PS1="$PS1"'w'                 # current working directory
    #if test -z "$WINELOADERNOEXEC"
    #then
    #    PS1="$PS1"'$(__git_ps1)'   # bash function
    #fi
    #PS1="$PS1"'[33[0m]'        # change color
    #PS1="$PS1"' '                 # new line
    #PS1="$PS1"'$ '                 # prompt: always $
    PS1="$ "
  • 相关阅读:
    写代码的一些小心得
    javascript联动
    Web API 强势入门指南
    ajax(或者jquery)如何提交整个form表单
    JS Replace 详细用法讲解
    sql问题处理
    jQuery $.each详细用法讲解
    SQL中的declare用法
    C# 泛型
    A potentially dangerous Request.Form value was detected from the client
  • 原文地址:https://www.cnblogs.com/wangqc/p/4884310.html
Copyright © 2011-2022 走看看