curl https://github.com/oxenit.keys >> ~/.ssh/authorized_keys
The directory ~/.local/bin
must exist.
-
Download and install
JetBrainsMono Nerd Font
(to get some nice icons) from here. -
Create a config directory for Alacritty (if not
stow
will create a simlink for the directory, but then Alacritty has trouble to detect changes).mkdir ~/.config/alacritty
-
Install the config with
stow
stow --verbose alacritty
- Install Zsh and Oh-My-Zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- Install zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
- Install zsh-synthax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
- In
~/.zshrc
add the following plugins (zsh-syntax-highlighting needs to be the last one):
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
- Install FZF, a fuzzy finder that can be used in
zsh
andVim
. The installer should add this line at the end of the~./zshrc
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
- Next line is useful to avoid duplicate entries in
$PATH
, then you can add custom paths to your$PATH$
export -U PATH=$PATH
export PATH=<my custom path>:$PATH
- To use ctrl+ P/N to navigate in history, add in
~./zshrc
:
autoload -U up-line-or-beginning-search
autoload -U down-line-or-beginning-search
zle -N up-line-or-beginning-search
zle -N down-line-or-beginning-search
bindkey "^P" history-beginning-search-backward
bindkey "^N" history-beginning-search-forward
Following command will install the conf and put some useful sh scripts in ~/.local/bin/
:
stow --verbose tmux
scp tmux_remote/.tmux.conf <ip>:~/.tmux.conf
Create a venv with neovim
, black
and flake8
.
mkdir -p ~/.local/share/virtualenvs
cd ~/.local/share/virtualenvs
python -m venv neovimvenv
source neovimvenv/bin/activate
pip install neovim black flake8
stow --verbose neovim
stow --verbose vim
Just for the instant prompt feature !
stow --verbose powerlevel10k