znap: Adjust install folder

This commit is contained in:
saibotk 2022-02-23 00:51:04 +01:00
parent 6010cc0543
commit 50ef29b076
Signed by: saibotk
GPG key ID: 67585F0065E261D5
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@
- shell:
# install znap (zsh plugin manager)
- command: 'if [ ! -d ~/.znap ]; then sh -c "$(git clone --depth 1 -- https://github.com/marlonrichert/zsh-snap.git ~/.znap)"; fi'
- command: 'if [ ! -d ~/.znap/znap ]; then sh -c "$(git clone --depth 1 -- https://github.com/marlonrichert/zsh-snap.git ~/.znap/znap)"; fi'
stdin: false
stdout: true
description: "Installing znap (zsh-snap):"

View file

@ -1,6 +1,6 @@
# Load zsh-snap (znap) plugin manager
zstyle ':znap:*' repos-dir ~/.znap
source ~/.znap/znap.zsh
source ~/.znap/znap/znap.zsh
# Helper Functions
# Returns whether the given command is executable or aliased.