Skip to content

Instantly share code, notes, and snippets.

@memes
Last active March 10, 2020 22:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save memes/2aa3e0235112e16fd0e84f99a051c4e9 to your computer and use it in GitHub Desktop.
Save memes/2aa3e0235112e16fd0e84f99a051c4e9 to your computer and use it in GitHub Desktop.
Mac OS shell settings
#-*- mode: sh -*-
# Setup history control
HISTCONTROL=ignoreboth
shopt -s histappend
HISTSIZE=1000
HISTFILESIZE=2000
shopt -s checkwinsize
# Default prompt is user@host
PS1='\[\033[0;32m\]\u@\h\[\033[0m\]:\[\033[0;31m\]\w\[\033[00m\]\$ '
# Load my customisations
[ -f "${HOME}/.bashrc_memes" ] && . "${HOME}/.bashrc_memes"
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
# -*- mode: sh -*-
#
# Simple .profile for OS X
# Load my customisations
if [ -f "${HOME}/.profile_memes" ]; then
. "${HOME}/.profile_memes"
fi
# If this is a bash shell, load the rc file - only needed on Mac
[ -n "${BASH_VERSION}" ] && [ -f "${HOME}/.bashrc" ] && . "${HOME}/.bashrc"
# -*- mode: sh; eval: (sh-set-shell "zsh") -*-
#
# Load my customizations
[[ -f ~/.zshrc_memes ]] && source ~/.zshrc_memes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment