zshify 5.1.0 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/bin/script.zsh +2 -2
  2. package/package.json +1 -4
package/bin/script.zsh CHANGED
@@ -19,5 +19,5 @@ echo "\n$(tput setaf 2)zshify enabled! to reload, run -$(tput sgr0) exec zsh"
19
19
 
20
20
  # cleanup
21
21
 
22
- grep -vxFf ~/.zshify/user.zsh ~/.zshrc >~/.zshrc.tmp && mv ~/.zshrc.tmp ~/.zshrc
23
- grep -vxFf ~/.zshify/user.zsh ~/.zprofile >~/.zprofile.tmp && mv ~/.zprofile.tmp ~/.zprofile
22
+ [ -f ~/.zshrc ] && grep -vxFf ~/.zshify/user.zsh ~/.zshrc >~/.zshrc.tmp && mv ~/.zshrc.tmp ~/.zshrc
23
+ [ -f ~/.zprofile ] && grep -vxFf ~/.zshify/user.zsh ~/.zprofile >~/.zprofile.tmp && mv ~/.zprofile.tmp ~/.zprofile
package/package.json CHANGED
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "name": "zshify",
3
- "version": "5.1.0",
3
+ "version": "6.0.0",
4
4
  "description": "A minimalistic touch to your prompt!",
5
5
  "bin": {
6
6
  "prompt": "bin/script.zsh"
7
7
  },
8
- "scripts": {
9
- "release": "yarn publish --minor"
10
- },
11
8
  "author": "Neeraj Dalal",
12
9
  "repository": {
13
10
  "type": "git",