-
Clone the theme to a custom oh-my-zsh themes directory:
git clone git@github.com:aifrim/aifrim.zsh-theme.git ~/.oh-my-custom-zsh/
-
Edit your
~/.zshrc
file and setexport ZSH_CUSTOM="$HOME/.oh-my-custom-zsh"
ZSH_THEME="aifrim"
.
If you have a package.json
, Cargo.toml
or go.mod
file in your current directory, you will see the current name and version of the project:
-
The current directory name and its parent
-
Git
git:(branch)
the git branch you are on✗
if you have uncommitted changes↓
if you fetched and have commits to pull↑
if you have commits to push
-
Package version:
-
name@1.0.0
forpackage.json
andCargo.toml
-
package/name@v1
forgo.mod
v1
is added when you did not define a version in yourgo.mod
file, otherwise it will be the version you defined.
If you want other files / languages to be recognized, you can add them in the
aifrim.zsh-theme
file via a pull request. -