Disabling auto-hide scroll bars on macOS

UI

System Preferences -> General -> Show scroll bars = Always

Shell

defaults write NSGlobalDomain AppleShowScrollBars -string "Always"