Z
This commit is contained in:
parent
68747f19e2
commit
aa3e41050a
2 changed files with 11 additions and 0 deletions
|
@ -104,3 +104,10 @@
|
||||||
creates: ~/.cargo/bin/silicon
|
creates: ~/.cargo/bin/silicon
|
||||||
when:
|
when:
|
||||||
- rust_extras == true
|
- rust_extras == true
|
||||||
|
|
||||||
|
- name: Install zoxide
|
||||||
|
shell: ~/.cargo/bin/cargo install zoxide
|
||||||
|
args:
|
||||||
|
creates: ~/.cargo/bin/zoxide
|
||||||
|
when:
|
||||||
|
- rust_extras == true
|
||||||
|
|
4
zsh/funcs/zoxide
Normal file
4
zsh/funcs/zoxide
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
if [[ -x ~/.cargo/bin/zoxide ]]; then
|
||||||
|
eval "$(zoxide init zsh)"
|
||||||
|
alias cd='z'
|
||||||
|
fi
|
Loading…
Add table
Reference in a new issue