Last active
June 5, 2020 23:04
-
-
Save donchan922/3c4b91a825ba73ed87bdf99bfbbeb3d7 to your computer and use it in GitHub Desktop.
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
# GNU版のlsをインストールする | |
$ brew install coreutils | |
# Solarizedのlsカラーテーマをダウンロードする | |
$ git clone https://github.com/seebi/dircolors-solarized.git ~/.dircolors-solarized | |
# .bashrcに以下1行を追加する(lsでカラー表示するための設定) | |
$ vi ~/.bashrc | |
alias ls='gls --color=auto' | |
# .bash_profileに以下1行を追加する(好みのlsカラーテーマを読み込む) | |
$ vi ~/.bash_profile | |
eval `gdircolors ~/.dircolors-solarized/dircolors.256dark` | |
# 設定反映(ターミナルを開き直すでもOK) | |
$ source ~/.bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment