update(ubuntu): readme for ubuntu

This commit is contained in:
Juan Wu 2022-12-09 15:59:19 -05:00
commit 003e4048a2

View file

@ -44,26 +44,25 @@ The configurations in this repository are highly inspired by and referenced from
# Setup # Setup
Follow the steps below to configure the dotfiles on macOS. Follow the steps below to configure the dotfiles on Ubuntu.
## Requirements ## Requirements
### 1. Install Homebrew ### 1. Install Fish
- [Homebrew](https://brew.sh/) - Package manager for macOS. Visit [https://fishshell.com/](https://fishshell.com/) and follow the instructions to install fish on Ubuntu.
After installing Homebrew, make sure to save its path somewhere using `which brew`. We are going to need it later to add it to path for `fish`.
### 2. Install Fish
Alternatively, follow these instructions for installing in Ubuntu.
```bash ```bash
brew install fish sudo add-apt-repository ppa:fish-shell/release-3
which fish sudo apt update
sudo apt install fish
``` ```
For more info: Verify fish has been installed.
```bash
- [Fish](https://fishshell.com/) - fish is a smart and user-friendly command line shell for Linux, macOS, and the rest of the family. which fish
```
#### Make fish the default shell #### Make fish the default shell
@ -71,44 +70,23 @@ For more info:
chsh -s $(which fish) chsh -s $(which fish)
``` ```
### 3. Install iTerm2 ### 2. Install Min browser
```fish
brew install iTerm2 --cask
```
Setup iTerm2 from json file. [Download](./files/iterm-profile.json)
### 4. Install Numi
Calculator and conversion application.
```fish
brew install numi --cask
```
### 5. Install Min browser
Minimalist browser Minimalist browser
Use the below command if running on Ubuntu:
```fish ```fish
brew install min --cask sudo dpkg -i /path/to/download
``` ```
### 6. Install Karabiner-Elements If not, visit [https://minbrowser.org/](https://minbrowser.org/).
Keybinding at system wide level for macOS. We want this for the sweet `ctrl+[` -> `esc` and `ctrl+h/j/k/l` -> `arrow keys`. ### 3. Install Neovim
```fish
brew install karabiner-elements --cask
```
### 7. Install Neovim
Neovim is an extension of vim that supports Lua scripting for configurations and plugins. Neovim is an extension of vim that supports Lua scripting for configurations and plugins.
```fish ```fish
brew install neovim sudo apt install neovim
``` ```
After installing neovim, we want to install all the language servers needed and formatters before installing plugins to avoid any problems. After installing neovim, we want to install all the language servers needed and formatters before installing plugins to avoid any problems.