Skip to content

Instantly share code, notes, and snippets.

@desyncr
Created February 3, 2017 20:35
Show Gist options
  • Save desyncr/f67abee8b1d858aad008bd2dc8273bd7 to your computer and use it in GitHub Desktop.
Save desyncr/f67abee8b1d858aad008bd2dc8273bd7 to your computer and use it in GitHub Desktop.
diff --git a/zpm.t b/zpm.t
index 1448bd3..095e33b 100644
--- a/zpm.t
+++ b/zpm.t
@@ -115,15 +115,15 @@ Plugin directory is properly unlinked after remove
$ zpm "zsh-users/zsh-syntax-highlighting" > /dev/null
$ zpm remove "zsh-users/zsh-syntax-highlighting" > /dev/null
$ ls ~/.zpm/plugins/zsh-users/zsh-syntax-highlighting
- ls: cannot access '.*/.zpm/plugins/zsh-users/zsh-syntax-highlighting': No such file or directory (re)
- [2]
+ ls: .*/.zpm/plugins/zsh-users/zsh-syntax-highlighting.*: No such file or directory (re)
+ [1]
Parent directory is properly removed if necessary
$ zpm "zsh-users/zsh-autosuggestions" > /dev/null
$ zpm remove "zsh-users/zsh-autosuggestions" > /dev/null
$ ls ~/.zpm/plugins/zsh-users
- ls: cannot access '.*/.zpm/plugins/zsh-users': No such file or directory (re)
- [2]
+ ls: .*/.zpm/plugins/zsh-users.*: No such file or directory (re)
+ [1]
Plugin directory is not removed after disable
$ zpm reset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment