Last active
March 10, 2020 22:10
-
-
Save memes/2aa3e0235112e16fd0e84f99a051c4e9 to your computer and use it in GitHub Desktop.
Mac OS shell settings
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
#-*- 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 |
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
# -*- 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" |
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
# -*- 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