- Download and install iTerm
- Set ALT to meta key:
iterm2 > Preferences > Profiles > Default > Keys > Left ⌥ Key: Esc+ - Install OneDark iTerm colors
- Install Homebrew
- Install bash via homebrew:
brew install bash - Set your default shell to brew's bash:
sudo vi /etc/shells
# Add the following line to the end of the file:
/usr/local/bin/bash
# write & quit
chsh -s /usr/local/bin/bash $USER- Restart iterm2
- Install coreutils:
brew install coreutils - Once installed, the profile will help us manage our path, but for now we need to manually add coreutils bin to our path for use by the profile installer.
export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"Note: Windows Terminal comes installed by default on newer versions of windows. Skip this step if you already have it
- go to https://github.com/microsoft/terminal/releases and pick a release to install
- Open the settings json file and replace with the contents of
scripts/windows-terminal-setttings.json - Open the Actions settings menu a. Remove the CTRL+C copy action b. Remove the CTRL+V paste action
- Open powershell and run
wsl --installa. If you encounter an error with the windows store runwsl --install Ubuntu --web-downloadb. If the install freezes at 0 percent, restart your computer and retry
- clone the profile:
git clone https://github.com/ischaaf/profile.git ~/.profile.dcd ~/.profile.dbash install.sh- Start a new terminal session to re-source all profile files
- install neovim plugins
nvim
:PlugInstall
:UpdateRemotePlugins
- Open
~/.fzf/shell/key-bindings.bash - comment out the following lines:
bind -m emacs-standard -x '"\C-r": __fzf_history__'
bind -m vi-command -x '"\C-r": __fzf_history__'
bind -m vi-insert -x '"\C-r": __fzf_history__'
- Download Win32Yank
- Extract the zip and move the binary into
C:\Users\<name>\bin\ - Link the binary to your home bin dir
ln -s /mnt/c/Users/ischaaf/bin/win32yank.exe ~/bin/win32yank.exe
Issue: sourcing profile results in command have not found