Last active
January 13, 2019 19:30
-
-
Save dekalo-stanislav/3a7fbeb4ec98185ff9e10d2932b285bb to your computer and use it in GitHub Desktop.
Ubuntu like bash profile for mac
This file contains hidden or 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
[ -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