Useful aliases added. Fixes #7.

This commit is contained in:
Stanislav Nikitin 2017-01-15 11:57:15 +05:00
parent e03ab6864c
commit 0c3d6c8d03
3 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,9 @@
# Default aliases. They can be overriden by other files with higher
# index.
# Files navigation.
alias ls="ls --color"
alias sl="ls --color"
# Git.
alias got="git"

View File

@ -0,0 +1,6 @@
# Some good aliases for FreeBSD.
if [ "${OS/FreeBSD}" != "${OS}" ]; then
# Files navigation.
alias ls="ls -G"
fi

View File

@ -0,0 +1,6 @@
# Some good aliases for macOS.
if [ "${OS/DarwinD}" != "${OS}" ]; then
# Files navigation.
alias ls="ls -G"
fi