windows的git配置类似于zsh的快捷键

前端之家收集整理的这篇文章主要介绍了windows的git配置类似于zsh的快捷键前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

1.F:\Git\etc\profile.d 下的aliases.sh文件

# Some good standards,which are not used if the user
# creates his/her own .bashrc/.bash_profile

# --show-control-chars: help showing Korean or accented characters
alias ls='ls -F --color=auto --show-control-chars'
alias ll='ls -l'

alias gst="git status"

alias ra="git stash -u && git stash clear"

case "$TERM" in
xterm*)
	# The following programs are known to require a Win32 Console
	# for interactive usage,therefore let's launch them through winpty
	# when run inside `mintty`.
	for name in node ipython PHP PHP5 psql python2.7
	do
		case "$(type -p "$name".exe 2>/dev/null)" in
		''|/usr/bin/*) continue;;
		esac
		alias $name="winpty $name.exe"
	done
	;;
esac@H_404_4@   

猜你在找的Windows相关文章