Macbook tips
Some tips and command for MacOS.
Command
Install Bash git completion
brew install git bash-completionAdd bash-completion to your ~/.bash_profile or .extra
[ -f /usr/local/etc/bash_completion ] && . /usr/local/etc/bash_completionHow to Change Screenshot Save Location
- create new folder in
Desktop
mkdir ~/Desktop/screenshots/- Copy and paste this command to the terminal window:
defaults write com.apple.screencapture location ~/Desktop/screenshots/Monospaced font with programming ligatures: FiraCode
Use brew and cask: Not officially supported, might install outdated version
brew tap caskroom/fonts
brew cask install font-fira-codescreenshot: see the != symbol
Setting the Mac hostname or computer name from the terminal
See the reference. change the primary hostname of your Mac:
scutil --set HostName <new host name>Main font-bundle for sketch icon-font plugin
- FontAwesome
- Material Design Icons
- Ion Icons
- Simple Line Icons (@bohn002)
- Ant Design Icons
See the detail
Install jq command
jq is a lightweight and flexible command-line JSON processor. Try it online.
IDE
- GraphQL IDE for better development workflows
- Visual Studio Code
- SSH Tunnel Manager
- Elegant Facebook Messenger desktop app
- Discord App
- Gitter is a chat and networking platform
- Docker for Mac
- Wechat in China
- Google Chrome
- Telegram Messenger
- iTerm2 is a replacement for Terminal and the successor to iTerm
- Evernote skitch
- MPlayer OSX Extended video player
- Universal Database Tool: DBeaver Community
- Phiewer is the easiest and fastest way to view your images
- FileZilla Client not only supports FTP, but also FTP over TLS (FTPS) and SFTP
- Project discussions: Slack
- Postman
- TablePlus - native app which helps you easily edit database data and structure
- Keka - the macOS file archiver
- Elmedia Player - Best media player for macOS
- Robo 3T - Mongodb Client
Tips
Show all filename extensions in Finder
See the following screenshots:
How to change the ScreenShot Keyboard Shortcut
You can see the reference.
Change the Shell in Mac OS X Terminal
You can see the reference.
open the terminal app and select the preferences
Using a Windows PC Keyboard on Mac with Remapped Windows & ALT Keys
See the reference
- Select your windows keyboard.
- Click the dropdown next to
OPTION Keyand selectCommand - Click the dropdown next to
COMMAND Keyand selectOption
Change default shell in terminal (iTerm2)
chsh -s /bin/bashSee Use zsh as the default shell on your Mac
Tmux scrollback in terminal (iTerm2)
You can copy my .tmux.conf config file and update the profile of iTerm2 as following screenshot:
Native Sierra-tabs on VSCode
See the issue comment














