- ディレクトリ DIR を作成
- start.command を DIR に配置
- ホームページから Atom をダウンロードして Atom.app を DIR に配置
- DIR を Finder で開いて start.command をダブルクリック (ターミナルから start.command を叩いても OK)
- 正常に実行された場合は DIR 直下に .atom フォルダが作成される
Created
January 18, 2017 00:46
-
-
Save yszk0123/13f8f92dffacbdbafd430384f1503501 to your computer and use it in GitHub Desktop.
デフォルトでないディレクトリに Atom の設定ファイルを置く方法 (複数の Atom を使い分ける方法)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -e | |
script_dir="$(cd $(dirname $0); pwd)" | |
ATOM_HOME="$script_dir/.atom" open "$script_dir/Atom.app" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment