<div class="alert alert-info">
<b>Note:</b> If you are running this guide in an environment <b>without <code>arcpy</code></b>, you can comment out the line that imports it and proceed with the guide. The Python API will look for <code>shapely</code> library and use it for geometry operations.
</div>
Tell ls to be colorful
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
alias ls='ls -GFh'
To display git repo status with colors and branch name
parse_git_branch() {
Newer Mac OS uses ZSH instead of bash
. This wiki will talk through setting it up with nice features such as autocomplete, colorized ls
, git & conda aware prompts etc.
- After upgrading to
zsh
, confirm you have it by typingzsh
in terminal. - Install a framework such as Oh my zsh which will simplify the whole process. Rest of steps assume you have it running. As of today, you can install it by running
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
.
Restart terminal.
OlderNewer