diff --git a/plugins/available/z.plugin.bash b/plugins/available/z.plugin.bash index 7ffe8fb3..14a65438 100644 --- a/plugins/available/z.plugin.bash +++ b/plugins/available/z.plugin.bash @@ -15,6 +15,11 @@ about-plugin ' z is DEPRECATED, use fasd instead' # * z -t foo # goes to most recently accessed dir matching foo # * z -l foo # list all dirs matching foo (by frecency) +if [ -h $BASH_IT/plugins/enabled/fasd.plugin.bash ]; then + printf '%s\n' 'sorry, the z plugin is incompatible with the fasd plugin. you may use either, but not both.' + return +fi + z() { local datafile="$HOME/.z" if [ "$1" = "--add" ]; then