Skip to content

Instantly share code, notes, and snippets.

@dramaticlly
Created March 1, 2018 22:47
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dramaticlly/59b66e9832987cd9463554929b834ec0 to your computer and use it in GitHub Desktop.
Save dramaticlly/59b66e9832987cd9463554929b834ec0 to your computer and use it in GitHub Desktop.
fix for ERROR: z.sh's datafile (...) is a directory.
cd ~
mkdir bin
cd bin
wget https://raw.githubusercontent.com/rupa/z/master/z.sh
echo "[ -f ~/bin/z.sh ] && source ~/bin/z.sh" >> ~/.zshrc
@enzodiaz25
Copy link

Hey, this helped me a lot, thank you!
How does it work? I couldn't figure out how it fixes the problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment