mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Added plugin z, based on the z function by Rupa Deadwyler
This commit is contained in:
parent
02f87128b4
commit
70481f71cb
3 changed files with 265 additions and 0 deletions
9
plugins/z/z.plugin.zsh
Normal file
9
plugins/z/z.plugin.zsh
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
# Copyright (c) 2011 goolic under the WTFPL license
|
||||
# Using the z function created by rupa deadwyler on https://github.com/rupa/z
|
||||
|
||||
|
||||
source $ZSH/plugins/z/z.sh
|
||||
|
||||
function precmd () {
|
||||
z --add "$(pwd -P)"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue