ci_edit icon indicating copy to clipboard operation
ci_edit copied to clipboard

can not run install.sh in osx

Open Crabime opened this issue 8 years ago • 2 comments

os version: OS X 10.11.4 After cloning this project, I met three question:

  1. First, ran this install.sh failed. Then checking this script file and echo SRC_PATH and APP_DIR, all return empty. and i changed such script file, here is change snippet which succeeded installing:
#Get current shell script directory name
SRC_PATH=$(cd "$(dirname "$0")"; pwd)
# Grab the directory name.
APP_DIR=${PWD##*/}
  1. Second, there is not opt folder in os x and i made it manually, how about normal user? Should we make such directory while installing.

  2. Third, i wrote a random text file using we command. After adding a line and want to save it. while cmd + s seems not working. it always let me store in another folder like desktop etc.so i wander if you can change the logic and just store this file and quit like vim.

Crabime avatar Aug 22 '17 06:08 Crabime

Thanks for trying out the new install.sh on OSX! Would you be willing to make a pull request for (1) and (2) in your message?

For (3) it would be great to make a separate bug for that (so we can chat about the installer and that issue separately).

dschuyler avatar Aug 22 '17 17:08 dschuyler

Oh, I'd also made a recent change in the install.sh here https://github.com/google/ci_edit/commit/8b3265b6add57faf17c96b94f94ff18996e70be4 Do either of those versions work better for you (either before or after my change to split the path by "/")?

dschuyler avatar Aug 22 '17 17:08 dschuyler