Friday, February 7, 2020

My actions of mac setup from scratch

1)
remap "End" key if key board is long
https://apple.stackexchange.com/a/16137

2) Show path and statis bar
Open finder, in menu "View" click on "Show ...."

3) show hidden files
https://ianlunn.co.uk/articles/quickly-showhide-hidden-files-mac-os-x-mavericks/
"Show/Hide Hidden Files the Long Way"

4) Show path in title
defaults write com.apple.finder _FXShowPosixPathInTitle -bool true

Install Homebrew (https://brew.sh/)
or https://iterm2.com/
update profiles for "Default" , choose presets ".. Natural ..."
and make Terminal to keep whole history of output
Once in the Profiles section, go to the Terminal tab in the right panel of the settings, then go down to the Notificationssection and click the Silence bell option.

5)  install Sublime
sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl

6) Disable swipe between pages to avoid conflict with horizontal scrolling
https://apple.stackexchange.com/a/33009/371076

7) full clock

utc clock in menu bar(if required): https://github.com/netik/UTCMenuClock/downloads



8) use bash 
chsh -s /bin/bash
disable warning on zsh usage - https://support.apple.com/en-us/HT208050  to ~/.bash_profile or ~/.profile:
export BASH_SILENCE_DEPRECATION_WARNING=1
install https://github.com/magicmonty/bash-git-prompt , update ~/.bash_profile to use GIT_PROMPT_ONLY_IN_REPO=0 as I like time in prompt.