[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]
[FAQ] ホームディレクトリに関して
- X-ml-count: 6786
- Subject: [FAQ] ホームディレクトリに関して
- From: 小関 吉則 (KOSEKI Yoshinori) <kose@xxxxxxxxxxx>
- Date: Mon, 07 Nov 2005 17:30:34 +0900
- User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (Debian GNU/Linux)
Q Meadow と Cygwin で同じホームディレクトリを使いたい
Windows の logon name が foo であれば、Cywgin の標準的なインストー
ルでは次のディレクトリがホームディレクトリになります。
c:/cygwin/home/foo
環境変数 HOME に c:/cygwin/home/foo をセットすれば
Meadow と Cygwin の両方で同ディレクトリがホームディレクトリ
となります。
ちなみに Cygwin の bash 上では c:/cygwin/home/foo は /home/foo
として扱われます。
Q Meadow と Cygwin で c:/foo をホームディレクトリにしたい
環境変数 HOME に c:/foo をセットします。
Cygwin では
mount c:/foo /home/foo
を1回だけ実行すれば bash から見える /home/foo の実体が
c:/foo となります。
Q Meadow 起動時のカレントディレクトリを ~ にしたい。
.emacs に
(cd "~")
と書くか、Meadow のショートカットのプロパティで「作業フォルダ」で
ホームディレクトリを指定します。
--
end