Merge branch 'master' of github.com:sapegin/dotfiles

This commit is contained in:
Artem Sapegin 2013-03-31 21:17:10 +04:00
commit c9d508ca45
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ alias get="curl -O"
alias dos2unix="perl -pi -e 's/\r\n?/\n/g'"
# Password generator
password() { openssl rand -base64 ${1:-8}; }
password() { cat /dev/urandom | tr -dc A-Za-z0-9_ | head -c ${1:-10}; }
# Show $PATH in a readable way
alias path='echo -e ${PATH//:/\\n}'