Merge pull request #78 from dscho/interactive-consoles

git-extra: add aliases to support interactive consoles in mintty
This commit is contained in:
Johannes Schindelin 2015-09-17 14:19:38 +00:00
Родитель f909fcd0bb 44ed99b47f
Коммит d81733f044
1 изменённых файлов: 12 добавлений и 0 удалений

Просмотреть файл

@ -4,3 +4,15 @@
# --show-control-chars: help showing Korean or accented characters
alias ls='ls -F --color=auto --show-control-chars'
alias ll='ls -l'
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 php php5 psql python2.7
do
alias $name="winpty $name.exe"
done
;;
esac