Skip to content

Instantly share code, notes, and snippets.

@c446984928
c446984928 / bashrc.sh
Created August 10, 2017 12:50
enhance your bash
# copy whole content & add them to your .bashrc
# from https://phuslu.github.io/bashrc,thanks my friends phuslu
if test "${HOME%/*}" = "/Users" ; then
alias ls='ls -G'
else
alias ls='ls -ph --color=auto'
fi
alias ll='ls -alF'
alias rm='rm -i'
alias mv='mv -i'