Skip to content

Instantly share code, notes, and snippets.

@Mouvedia
Last active August 2, 2021 11:09
Show Gist options
  • Save Mouvedia/339dcb9b033aac30d6961d259946b9b2 to your computer and use it in GitHub Desktop.
Save Mouvedia/339dcb9b033aac30d6961d259946b9b2 to your computer and use it in GitHub Desktop.
~ files
# .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