Skip to content

Commit

Permalink
Fixed znap pull
Browse files Browse the repository at this point in the history
This is a fn that will use builtin `cd` till the PR is merged
[https://github.com/marlonrichert/zsh-snap/issues/281](Track Here)
  • Loading branch information
niksingh710 committed Apr 29, 2024
1 parent a90749a commit bfed729
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions home/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ plugins_path="$HOME/.zsh_plugins"

source "$plugins_path/znap/znap.zsh"

znap_update() {
unset cd
unset -f cd
znap pull
exec zsh
}

# Prompt
# znap eval starship 'starship init zsh --print-full-init'
# znap prompt
Expand Down

0 comments on commit bfed729

Please sign in to comment.