Merge pull request #78 from dscho/interactive-consoles
git-extra: add aliases to support interactive consoles in mintty
This commit is contained in:
Коммит
d81733f044
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче