Added instructions on how to add terminal colors by editing your .bash_profile.

This commit is contained in:
Donne Martin 2015-02-28 12:40:18 -05:00
parent a2191d03bd
commit 85a316fc29

View File

@ -229,6 +229,50 @@
"language": "python",
"metadata": {},
"outputs": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Terminal Colors"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Add the following to your ~/.bash_profile:"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"export PS1='\\[\\033[01;32m\\]\\u@\\h\\[\\033[00m\\]:\\[\\033[01;34m\\]\\W\\[\\033[00m\\]\\$ '\n",
"export CLICOLOR=1\n",
"export LSCOLORS=ExFxBxDxCxegedabagacad\n",
"alias ls='ls -GFh'"
],
"language": "python",
"metadata": {},
"outputs": []
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Reload .bash_profile:"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"source ~/.bash_profile"
],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}