Skip to content

Instantly share code, notes, and snippets.

@dekalo-stanislav
Last active January 13, 2019 19:30
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 dekalo-stanislav/3a7fbeb4ec98185ff9e10d2932b285bb to your computer and use it in GitHub Desktop.
Save dekalo-stanislav/3a7fbeb4ec98185ff9e10d2932b285bb to your computer and use it in GitHub Desktop.
Ubuntu like bash profile for mac
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completion
#PS1 section\
tgreen='\[$(tput setaf 2)\]'
tpurp='\[$(tput setaf 4)\]'
twhite='\[$(tput setaf 7)\]'
export PS1="${tgreen}\u@\h${twhite}:${tpurp}\w${twhite}$ "
alias ls='ls -G'
# Ho to remap tilda and ±
# hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000064,"HIDKeyboardModifierMaKeyboardModifierMappingSrc":0x700000035,"HIDKeyboardModifierMappingDst":0x700000064}]}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment