Skip to content

Instantly share code, notes, and snippets.

@francescopapaleo
Created November 27, 2023 08:38
Show Gist options
  • Select an option

  • Save francescopapaleo/3f3dc4f7c38893a0e459524b8e9cf05a to your computer and use it in GitHub Desktop.

Select an option

Save francescopapaleo/3f3dc4f7c38893a0e459524b8e9cf05a to your computer and use it in GitHub Desktop.
#!/bin/bash
# bash_profile
echo "export CLICOLOR=1" >> ~/.bash_profile
echo "export LSCOLORS=GxFxCxDxBxegedabagaced" >> ~/.bash_profile
echo "export TERM="xterm-color"" >> ~/.bash_profile
echo "export PS1='\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\]:\[\e[0;34m\]\w\[\e[0m\]\$ '" >> ~/.bash_profile
exec bash -l
# Always show hidden files in Finder
defaults write com.apple.finder AppleShowAllFiles -bool YES && killall Finder
# Show all filename extensions in Finder
defaults write NSGlobalDomain AppleShowAllExtensions -bool true && killall Finder
echo "Script complete."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment