Skip to content

Commit

Permalink
Remove asdf from most examples
Browse files Browse the repository at this point in the history
Resolves #206.
  • Loading branch information
marlonrichert committed May 1, 2023
1 parent cf3ff4f commit 7a87bbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,11 @@ znap prompt
znap source marlonrichert/zsh-autocomplete
znap source marlonrichert/zsh-edit

# ...or to load only those parts of Oh-My-Zsh or Prezto that you really need:
# You can also choose to load one or more files specifically:
znap source sorin-ionescu/prezto modules/{environment,history}
znap source ohmyzsh/ohmyzsh \
'lib/(*~(git|theme-and-appearance).zsh)' plugins/git

# `znap source` finds the right file automatically, but you can also specify
# one (or more) explicitly:
znap source asdf-vm/asdf asdf.sh

# No special syntax is needed to configure plugins. Just use normal Zsh
# statements:
Expand Down Expand Up @@ -79,10 +76,6 @@ znap eval trapd00r/LS_COLORS "$( whence -a dircolors gdircolors ) -b LS_COLORS"
znap source marlonrichert/zcolors
znap eval marlonrichert/zcolors "zcolors ${(q)LS_COLORS}"

# Here we include the full path to a command. Since that path includes a
# version number, the cache will be invalidated when that changes.
znap eval asdf-community/asdf-direnv "asdf exec $( asdf which direnv ) hook zsh"

# Combine `znap eval` with `curl` or `wget` to download, cache and source
# individual files:
znap eval omz-git 'curl -fsSL \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ This will save them to `${XDG_DATA_HOME:-$HOME/.local/share}/zsh/site-functions`
Znap makes all of the repos it manages available as [named
directories](http://zsh.sourceforge.net/Doc/Release/Expansion.html#Filename-Expansion):
```sh
% cd ~[github-markdown-toc] # `cd` to a repo
% cd ~[zsh-snap] # `cd` to a repo
% ls ~[asdf]/completions # `ls` a subdir in a repo
```

Expand Down

0 comments on commit 7a87bbe

Please sign in to comment.