| | |
| | | #aliases |
| | | if [[ "$OSTYPE" == "darwin"* ]]; then |
| | | if [ -z "${OSTYPE##*darwin*}" ]; then |
| | | #Mac OSX specific versions |
| | | alias ls="ls -G" |
| | | else |
| | |
| | | alias l="ls -laF" |
| | | alias grep="grep --color=always" |
| | | alias less='less -r' |
| | | alias stats="find . -type f -print | sed -E -n 's/.+(\..*)$/\1/p' | sort | uniq -c | sort" |
| | | alias stats="find . -type f -print | sed -E -n 's/.+(\..*)$/\1/p' | sort | uniq -c | sort -g" |
| | | |
| | | alias pip-upgrade="python -m pip list --outdated --format=freeze | grep -v '^\-e' | cut -d = -f 1 | xargs -n1 python -m pip install -U" |
| | | |