Bash: get alias.

This commit is contained in:
Artem Sapegin 2013-03-07 21:46:26 +04:00
parent 717c06c10d
commit ec8b4ace1c
1 changed files with 4 additions and 0 deletions

View File

@ -74,7 +74,11 @@ for method in GET HEAD POST PUT DELETE TRACE OPTIONS; do
alias "$method"="lwp-request -m '$method'"
done
# Download file and save it with filename of remote file
alias get="curl -O"
# Convert line endings to UNIX
# tr -d '\015'
alias dos2unix="perl -pi -e 's/\r\n?/\n/g'"
# Password generator