My dev config.
Step 1 – Install Homebrew
Homebrew [...] simplifies the installation of software on the Mac OS X operating system.
Copy & paste the following into the terminal window and hit Return
.
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
You will be requested to install the Command Line Developer Tools from Apple. Confirm by clicking Install. After the installation finished, continue installing Homebrew by hitting Return
again.
Copy & paste the following into the terminal window and hit Return
.
brew install zsh
You can use zsh now.
To set zsh as your default shell, execute the following.
sudo sh -c "echo $(which zsh) >> /etc/shells" && chsh -s $(which zsh)
- Install OhMyZsh
sh -c "$(curl -fsSL [https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh](https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh))"
ZSH_THEME="powerlevel10k/powerlevel10k"
POWERLEVEL9K_MODE="nerdfont-complete"
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
- Install PowerLeve10K theme && Plugins for autosuggestion and syntax highlighting
brew install romkatv/powerlevel10k/powerlevel10k
echo "source $(brew --prefix)/opt/powerlevel10k/powerlevel10k.zsh-theme" >>~/.zshrc
OR
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
&&
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
&&
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
Install Nerd Fonts via Homebrew
- Homebrew
brew tap homebrew/cask-fonts &&
brew install --cask font-<FONT NAME>-nerd-font
brew tap homebrew/cask-fonts &&
brew install --cask font-meslo-lg-nerd-font
brew tap homebrew/cask-fonts && brew install --cask font-FiraMono-nerd-font
brew tap homebrew/cask-fonts && brew install --cask font-meslo-nerd-font
- :// curl
curl -fLo "<FONT NAME> Nerd Font Complete.otf" \
https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/<FONT_PATH>/complete/<FONT_NAME>%20Nerd%20Font%20Complete.otf
- Bash Install Script
./install.sh <FontName>
- Edit ~.zshrc and add:
Install: Git Clone in user directory /home/$(whoami)
git clone git@github.com:wilo01/Dotfiles.git
To install nvim plugins open nvim and type: :PlugInstall :PlugUpdate
Commands Used 💻 Installing ZSH shell for linux distros:
SSH Github key !
git config --global user.name "wilo01"
git config --global user.email "wilk9496@gmail.com"
git config --global core.editor "nvim"
ssh-keygen -t ed25519 -C "wilk9496@gmail.com"
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
cat ~/.ssh/id_ed25519.pub
copy ssh key to github
reboot if problems
SSH without password
// ssh copy id
ssh-copy-id pi@ip-adress or ssh-copy-id pi@domain-name.local
ssh-copy-id pi@10.1.1.206
ssh-copy-id pi@10.1.1.208
// In sshd_config change line PsswordAuthentication no
sudo nvim /etc/ssh/sshd_config
PsswordAuthentication no
sudo service ssh restart
brew install tmux nvim exa htop
brew install --cask visual-studio-code
defaults write NSGlobalDomain KeyRepeat -int 0
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
defaults write -g ApplePressAndHoldEnabled -bool false
reboot
~/.config/regolith/Xresources