Tested: 6th March 2019
Download rom here: https://brew.sh/ `
To customise your terminal or iTerm to identify if you are in a Rosetta or Arm64 Architecture terminal, | |
add the following code in your ~/.zshrc file before the Powerlevel 10k statements. | |
# MacOS Architecture detection | |
function prompt_architecture() { | |
arch_name="$(uname -m)" | |
if [ "${arch_name}" = "x86_64" ]; then | |
if [ "$(sysctl -in sysctl.proc_translated)" = "1" ]; then | |
p10k segment -b 7 -f 0 -t 'x86' | |
else |
Simply add the following to your init.vim: | |
set autoread | |
au CursorHold * checktime | call feedkeys("lh") |
Tested: 6th March 2019
Download rom here: https://brew.sh/ `