In case of
missing or unsuitable terminal: xterm-kitty
error, just doexport TERM=xterm-256color
Install nvim
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim.appimage
chmod u+x nvim.appimage
./nvim.appimage
And use this if the installation doesn’t work
./nvim.appimage --appimage-extract
./squashfs-root/AppRun --version
# Optional: exposing nvim globally.
mv squashfs-root /
ln -s /squashfs-root/AppRun /usr/bin/nvim
nvim
Clone the repository
git clone https://github.com/DomizianoScarcelli/dotfiles ~/.dotfiles
Create .config and copy .dotfiles inside of it
mkdir ~/.config
rm -rf ~/.config/nvim
cp -r ~/.dotfiles/nvim/.config/nvim ~/.config/
Install packer
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nvim
Setup nvim
Go into init.lua
and do the :so
command, then go into packer.lua
, do :so
and then :PackerSync
. Restart nvim.
Activate conda env
conda activate env_name
could not work, and because of this you can do source activate env_name
Install github CLI
(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) \
&& sudo mkdir -p -m 755 /etc/apt/keyrings \
&& wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
&& sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
&& echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& sudo apt update \
&& sudo apt install gh -y
and then do
gh auth login
tags:#quickfix