1. 09 May, 2023 2 commits
  2. 06 May, 2023 2 commits
  3. 03 May, 2023 2 commits
  4. 02 May, 2023 2 commits
  5. 01 May, 2023 1 commit
    • Carlo Sala's avatar
      fix(init): avoid overwriting existing aliases · b22593cf
      Carlo Sala authored
      Fix regression introduced in #11550. If an existing alias was present in
      the moment of sourcing, and oh-my-zsh aliases were disabled for that
      file, it'd be overwritten aswell. See #11658.
      b22593cf
  6. 28 Apr, 2023 1 commit
  7. 27 Apr, 2023 3 commits
  8. 21 Apr, 2023 2 commits
  9. 20 Apr, 2023 3 commits
  10. 19 Apr, 2023 1 commit
  11. 18 Apr, 2023 1 commit
  12. 17 Apr, 2023 1 commit
  13. 16 Apr, 2023 1 commit
  14. 11 Apr, 2023 1 commit
  15. 09 Apr, 2023 2 commits
  16. 08 Apr, 2023 2 commits
  17. 07 Apr, 2023 2 commits
  18. 06 Apr, 2023 2 commits
    • Marc Cornellà's avatar
      fix(extract): fix conflict if compressed file has a folder of the same name · 49d34d00
      Marc Cornellà authored
      This change fixes the case where the compressed file (e.g. tools.tgz) only
      contains a folder with the same name (e.g. tools) in its root folder.
      
      tools.tgz:
      |- tools
         |- fileA.txt
         |- fileB.txt
         \- fileC.txt
      
      In that case, the "smart" folder creation mechanism will extract the files in
      a folder "tools", and this extraction folder will contain a single folder with
      the same name.
      
      Before this fix, the tool would try to move out the inside folder to the parent
      one, but there would already be a folder named "tools", so it would generate a
      conflict.
      
      This change first renames the inside folder to a random string, and only then
      it is moved outside and the old extraction folder is deleted.
      49d34d00
    • François M's avatar
      cf0c8004
  19. 04 Apr, 2023 3 commits
  20. 03 Apr, 2023 4 commits
  21. 02 Apr, 2023 2 commits
    • Marc Cornellà's avatar
      fix(extract): safely remove extract directory · d47e1d65
      Marc Cornellà authored
      The previous code would remove the extract directory if the command failed.
      This could be bad because we're not checking if the extract directory
      already existed (since we're using `mkdir -p`), so it could be possible
      that the extract operation failed, and we'd be removing a directory that
      already existed and had files in it.
      
      This change only removes the directory if there are no files in it, regardless
      of whether the extract operation was successful or not. This is much safer.
      d47e1d65
    • Marc Cornellà's avatar