zshify 4.0.0 → 5.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.
- package/README.md +27 -22
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,54 +9,50 @@ Zshify is a minimalistic, one command installation to customize the prompt of yo
|
|
|
9
9
|
Installation is done using the [`npx`](https://docs.npmjs.com/getting-started/installing-npm-packages-locally) command:
|
|
10
10
|
|
|
11
11
|
```zsh
|
|
12
|
-
|
|
12
|
+
npx zshify
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
Alternatively, you can install using `bunx
|
|
15
|
+
Alternatively, you can install using `bunx zshify` (recommended).
|
|
16
16
|
|
|
17
|
-
Yeah that's it, no downloads, no hassle. A minimalistic installation for
|
|
17
|
+
Yeah that's it, no downloads, no hassle. A minimalistic installation for a minimalistic package.
|
|
18
18
|
|
|
19
|
-
> See advanced section to to enrich your terminal experience with autosuggestions, history search and syntax highlighting
|
|
19
|
+
> See advanced section to to enrich your terminal experience with autosuggestions, history search and syntax highlighting.
|
|
20
20
|
|
|
21
21
|
## Why Zshify?
|
|
22
22
|
|
|
23
|
-
Aren't you tired of your default Zsh prompt looking like this? Cluttered, ugly and slow?
|
|
23
|
+
- Aren't you tired of your default Zsh prompt looking like this? Cluttered, ugly and slow?
|
|
24
|
+
- Don't you need some additional features / useful aliases and functions are added as default.
|
|
24
25
|
|
|
25
26
|
> dogefather@Dogeminers-Mac-mini ~ %
|
|
26
27
|
|
|
27
28
|
Appearing over and over again with the usual boring info? Like you really want to know your username over and over again.
|
|
28
29
|
|
|
29
|
-
Why not change it to it's minimal version? And that too with colors!
|
|
30
|
+
Why not change it to it's minimal yet advanced version? And that too with colors!
|
|
30
31
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
### Adanced
|
|
32
|
+
### For Advanced Experience
|
|
34
33
|
|
|
35
34
|
```sh
|
|
36
35
|
# to enrich your terminal experience run this command after installing brew
|
|
37
|
-
brew install zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting
|
|
36
|
+
brew install zsh-autosuggestions zsh-history-substring-search zsh-syntax-highlighting fzf zoxide
|
|
38
37
|
```
|
|
39
38
|
|
|
40
39
|
### Alias
|
|
41
40
|
|
|
42
41
|
```sh
|
|
43
42
|
# open files and folders in vscode
|
|
43
|
+
alias mkcd="cdx"
|
|
44
44
|
alias c="code ."
|
|
45
45
|
alias cr="code -r ."
|
|
46
|
-
|
|
47
|
-
# open files and folders in finder
|
|
48
|
-
alias o="open ."
|
|
49
|
-
|
|
50
|
-
# hide or show files and folders in desktop
|
|
51
|
-
alias hide="defaults write com.apple.finder CreateDesktop false && killall Finder"
|
|
52
|
-
alias show="defaults write com.apple.finder CreateDesktop true && killall Finder"
|
|
53
46
|
```
|
|
54
47
|
|
|
55
48
|
### Functions
|
|
56
49
|
|
|
57
50
|
```sh
|
|
58
|
-
#
|
|
59
|
-
|
|
51
|
+
# creates a directory recursively if it doesn't exists and switch to it
|
|
52
|
+
mkcd "newProject" || mkcd "newProject/subProject"
|
|
53
|
+
|
|
54
|
+
# clone any github repo
|
|
55
|
+
clone nrjdalal/zshify
|
|
60
56
|
|
|
61
57
|
# git add, commit and push (with message)
|
|
62
58
|
g "commit message"
|
|
@@ -64,12 +60,21 @@ g "commit message"
|
|
|
64
60
|
# just enhanced version of ls with colors and sorting
|
|
65
61
|
ls
|
|
66
62
|
|
|
67
|
-
# creates a directory recursively if it doesn't exists and switch to it
|
|
68
|
-
mkcd "newProject" || mkcd "newProject/subProject"
|
|
69
|
-
|
|
70
63
|
# create a github repo from command line (pass --public for private repo)
|
|
71
64
|
mkrepo || mkrepo --public
|
|
72
65
|
|
|
66
|
+
# close any application running on a given port
|
|
67
|
+
close 3000
|
|
68
|
+
|
|
73
69
|
# rename current directory to new name
|
|
74
70
|
rename "newName"
|
|
71
|
+
|
|
72
|
+
# trash all files and folders including hidden files
|
|
73
|
+
trash
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Postgres Launcher
|
|
77
|
+
|
|
78
|
+
```sh
|
|
79
|
+
pglaunch
|
|
75
80
|
```
|