Skip to content

Instantly share code, notes, and snippets.

@lightscalar
Last active July 7, 2018 21:23
Show Gist options
  • Save lightscalar/03d637fd62c6fb963dd7d2bd05c6f24c to your computer and use it in GitHub Desktop.
Save lightscalar/03d637fd62c6fb963dd7d2bd05c6f24c to your computer and use it in GitHub Desktop.
Minimal .profile to configure things the way I like 'em...
# Command line prompt should be reasonable.
export PS1="$\w> "
# Reasonable coloring of directories, etc.
export CLICOLOR=1
export LSCOLORS=ExFxBxDxCxegedabagacad
# added by Anaconda3 5.2.0 installer
export PATH="/Users/mjl/anaconda3/bin:$PATH"
# Command history.
bind '"\e[A": history-search-backward'
bind '"\e[B": history-search-forward'
# Command line editing should be vim-like.
set -o vi
# Aliases...
alias ip='ipython --TerminalInteractiveShell.editing_mode=vi --no-confirm-exit'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment