It is because etc\profile.d\git-prompt.sh does not check the shell before including git-completion. If [ "x $ " #if you have problems with your path, just print it somewhere #echo "PATH set to" > ~/.shelllog #echo $PATH | /usr/bin/sed 's/^\|:/\n /g'> ~/.shelllog export HISTSIZE=999999999ĮRROR: this script is obsolete, please see git-completion.zsh Since I am fairly new to using the command line, using tools such as npm, Node.js, and Git Bash, I figured I would describe how I figured out to change directories, when starting a new project and initializing a Git repository. # ~/.zshenv # This is the first file that zsh is loading # my preferred locale/lang settings export LC_ALL=C.utf8 This brief tutorial describes how to change directories using Git Bash for beginners. # wl at DESKTOP-EJL17NS in /c/work/project on git:master Bash is a popular default shell on Linux and macOS. A shell is a terminal application used to interface with an operating system through written commands. If you dont have the autocompletion support, get the source code of git-completion. Bash is an acronym for Bourne Again Shell. Git bash by default provides autocompletion for git commands: Joejpc MINGW64 /d/example-project (master) git sta Tab Tab stage stash status Joejpc MINGW64 /d/example-project (master) git sta. Looks like it is slightly faster, but anyway, 2 seconds, if not in git repo, and 5-7 seconds in a small repo. Git Bash is an application for Microsoft Windows environments which provides an emulation layer for a Git command line experience.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |