FreeBSD's mc without subshell alias and silenced gitinfo.

Added alias for FreeBSD for mc launch as normal user, which may
lack PTY access. Related to #6.

Silenced gitinfo's errors on just-inited repo. Fixes #3.
This commit is contained in:
2017-01-15 16:55:38 +05:00
parent 0c3d6c8d03
commit 1288d9e542
2 changed files with 6 additions and 3 deletions

View File

@@ -3,4 +3,7 @@
if [ "${OS/FreeBSD}" != "${OS}" ]; then
# Files navigation.
alias ls="ls -G"
# mc having troubles with subshells and normal users accounts.
# Force an alias that will launch mc without subshell capabilities.
alias mc="mc -u"
fi