init.zsh 365 B

1234567891011121314151617
  1. #
  2. # Archive aliases
  3. #
  4. # if pigz/pbzip2 are available, alias them as they are drop-in replacements for gzip and bzip2, respectively.
  5. #
  6. # pigz
  7. #
  8. (( ${+commands[pigz]} )) && alias gzip='pigz'
  9. (( ${+commands[unpigz]} )) && alias gunzip='unpigz'
  10. #
  11. # pbzip2
  12. #
  13. (( ${+commands[pbzip2]} )) && alias bzip2='pbzip2'
  14. (( ${+commands[pbunzip2]} )) && alias bunzip2='pbunzip2'