Setting up bash or zsh on Mac and PowerShell on Windows
After cloning the abkEnv repository, to install execute
./install_abkEnv.sh
- /bin/bash
- /bin/csh
- /bin/ksh
- /bin/sh
- /bin/tcsh
- /bin/zsh
tool | description |
---|---|
home brew | brew is a command line tool to install apps and tools on Mac |
- to install brew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
tool | description |
---|---|
oh-my-zsh | It will be installed automatically in ~/.oh-my-zsh |
autosuggestion | zsh plugin will be installed automatically into the ~/.zsh/custom/plugins/zsh-autosuggestions |
syntax-highlighting | zsh plugin will be installed automatically into the ~/.zsh/custom/plugins/zzsh-syntax-highlighting |
Cascadia fonts | Cascadia fonts needed to display power line symbols. It will be installed, but config needs to be done manually |
tool | description |
---|---|
oh-my-bash | It will be installed automatically in ~/.oh-my-bash |
abk_pl | powerline custom theme will be installed into custom/themes/abk_pl |
history | default config of the the oh-my-bash has a bug it will be corrected in lib/history.sh |
Cascadia fonts | Cascadia fonts needed to display power line symbols. It will be installed, but config needs to be done manually |
- to check which shell your terminal is running: echo $SHELL
- if you want to change to bash: chsh -s /bin/bash
- if you want to change to zsh: chsh -s /bin/zsh
- if you changed to zsh shell for first time, you will be automatically requested to configure powerline 10k
- to customize your powerline 10k prompt, execute: p10k configure
- follow the p10k config steps to your liking
- the p10k configuration is saved in the file: ~/.p10k.zsh
- the p10k is initialization is happening in the ~/.zshrc. You will see p10k line added after executing: p10k configure
- open terminal app
- Press: ⌘ + , or from Menu: Terminal / Preferences
- select Profile tab
- Click on "..." and select Import
- e.g. select one of the predefined terminal themes from this repo. E.g.: macBin/env/themes/abk_pl.terminal
- set the imported theme as default by clicking on "Default"
- Close terminal with: ⌘ + q and re-open terminal app
- open vscode app
- Press: ⌘ + , or from Menu: Code / Preferences / Settings
- search for: "Font Terminal"
- Set for "Terminal > Integrated: Font Family": 'CaskaydiaCove Nerd Font'
- open vscode app
- Press: ⌘ + , or from Menu: Code / Preferences / Settings
- search for: "Editor: Font Family"
- Make sure that for "Editor: Font Family" entry the font 'Cascadia Code PL' is 1st in the list of comma separated font names
After cloning the abkEnv repository, to install execute
install_abkEnv.ps1
The installation on Windows has many manual steps, which still needs to be improved. SInce I don't own a Windows PC it is hard to automate it. However when I get a Windows computer, I will make it happen in more automatic way. But for now I would recommend the description of 2 following setup descriptions
- MacOS
- Windows 10
- Linux Debian
- Linux Ubuntu
🏁