zshify 13.2.0 → 13.3.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 +0 -4
  2. package/package.json +1 -1
package/bin/script.zsh CHANGED
@@ -1,6 +1,5 @@
1
1
  #!/bin/zsh
2
2
 
3
- # Clone the repository
4
3
  temp_dir=$(mktemp -d)
5
4
  git clone https://github.com/nrjdalal/zshify.git "$temp_dir" &>/dev/null
6
5
  curl -s https://raw.githubusercontent.com/nrjdalal/pglaunch/main/bin/fx.sh | cat >"$temp_dir/config/postgres.zsh"
@@ -8,7 +7,6 @@ mkdir -p ~/.zshify
8
7
  rsync -a --delete "$temp_dir"/ ~/.zshify/
9
8
  rm -rf "$temp_dir"
10
9
 
11
- # Source the files
12
10
  for config in prompt background fx alias plugins user postgres; do
13
11
  grep "source ~/.zshify/config/${config}.zsh" ~/.zshrc &>/dev/null || echo "source ~/.zshify/config/${config}.zsh" >>~/.zshrc
14
12
  done
@@ -25,9 +23,7 @@ echo
25
23
  echo "it is recommended to reload the shell, run $(tput setaf 3)exec zsh$(tput sgr0) to do so"
26
24
  echo
27
25
 
28
- # Cleanup
29
26
  [ -f ~/.zshrc ] && grep -vxFf ~/.zshify/config/user.zsh ~/.zshrc >~/.zshrc.tmp && mv ~/.zshrc.tmp ~/.zshrc
30
27
  [ -f ~/.zprofile ] && grep -vxFf ~/.zshify/config/user.zsh ~/.zprofile >~/.zprofile.tmp && mv ~/.zprofile.tmp ~/.zprofile
31
28
 
32
- # Reload the shell
33
29
  exec zsh
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zshify",
3
- "version": "13.2.0",
3
+ "version": "13.3.0",
4
4
  "description": "A minimalistic touch to your prompt!",
5
5
  "bin": {
6
6
  "prompt": "bin/script.zsh"