Last active
August 2, 2021 11:09
-
-
Save Mouvedia/339dcb9b033aac30d6961d259946b9b2 to your computer and use it in GitHub Desktop.
~ files
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
# .hushlogin | |
# .inputrc | |
"\e\e[C": forward-word | |
"\e\e[D": backward-word | |
# .bashrc | |
ulimit -n 2048 # /Library/LaunchDaemons/limit.maxfiles.plist | |
if [ $(id -u) -eq 0 ]; | |
then # root | |
PS1="\[\e[0;31m\]\w\[\e[m\] # " | |
else # normal | |
PS1="\[\e[0;31m\]\w\[\e[m\] $ " | |
fi | |
function mkcdir (){ | |
mkdir -p -- "$1" && | |
cd -P -- "$1" | |
} | |
defaults write com.apple.Finder AppleShowAllFiles true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment