mac
例えば複数のサーバーで公開鍵を使って認証している場合、gitコマンドで使う鍵を変えなければいけない。■ ssh configを設定する cd ~/.ssh vim configHost github.com HostName github.com User git IdentityFile ~/.ssh/id_rsa Port 22 Host other.git.com …
■ bash_profile へAndroid SDK の platform-toolsへパスを通す vim ~/.bash_profileexport PATH=/Users/testuser/adt-bundle-mac-x86_64-20131030/sdk/platform-tools/:$PATH//変更をリロードさせる source ~/.bash_profilePATH={Android SDKへのパス}/platf…
シェル書いててMacでファイルやディレクトリのパスをコピーする時、右クリックで"情報を見る"から"場所"をコピーする必要があるが、めんどくさい。 ■この方法が一番簡単 http://fujiwarayuta.com/blog/rhythm/mac%E3%81%A7%E3%83%95%E3%82%A1%E3%82%A4%E3%83…
■ 長くなると画面の左側が埋まってしまうので、今いるディレクトリだけを表示 $export PS1="\W$ "参考) http://www.itmedia.co.jp/help/tips/linux/l0360.html