Use the server timestamp in the get alias

This commit is contained in:
Indrajit Raychaudhuri 2012-04-22 20:09:43 +05:30 committed by Sorin Ionescu
parent 10ab5e2b58
commit 3c85575f80

View File

@ -75,10 +75,10 @@ alias type='type -a'
# Mac OS X # Mac OS X
if [[ "$OSTYPE" == darwin* ]]; then if [[ "$OSTYPE" == darwin* ]]; then
alias o='open' alias o='open'
alias get='curl --continue-at - --location --progress-bar --remote-name' alias get='curl --continue-at - --location --progress-bar --remote-name --remote-time'
else else
alias o='xdg-open' alias o='xdg-open'
alias get='wget --continue --progress=bar' alias get='wget --continue --progress=bar --timestamping'
if (( $+commands[xclip] )); then if (( $+commands[xclip] )); then
alias pbcopy='xclip -selection clipboard -in' alias pbcopy='xclip -selection clipboard -in'