Skip to content

Instantly share code, notes, and snippets.

@leetschau
Created January 13, 2026 05:56
Show Gist options
  • Select an option

  • Save leetschau/f8545ab597f5317da468173f4200df54 to your computer and use it in GitHub Desktop.

Select an option

Save leetschau/f8545ab597f5317da468173f4200df54 to your computer and use it in GitHub Desktop.
Working environment pvovision commands
# necessary tools:
sudo dnf copr enable atim/starship
sudo dnf install fish git nvim zoxide direnv starship perl-Digest-SHA # on Fedora 43
# set shell:
chsh -s /bin/fish
# create public SSH key and add it to the source hosting platform:
ssh-keygen
# nvim configurations:
git clone git@bitbucket.org:leechau/lazy-configs.git ~/.config/nvim
# other configurations:
chezmoi init git@bitbucket.org:leechau/mydotfiles.git
chezmoi apply ~/.config/fish
chezmoi apply ~/.config/eget
# dsnote
mkdir -p ~/.local/bin ~/.config/donno
cat << EOF > ~/.config/donno/config.json
{"app_home":"/home/leo/.donno/","default_notebook":"/Diary/2026","editor":"nvim","viewer":"nvim -R"}
EOF
scp templ-host:~/.local/bin/dn ~/.local/bin # or compiie from source:
# git clone git@github.com:leetschau/ron.git && cd ron && cargo build
git clone git@bitbucket.org:leechau/diaries.git ~/.donno/repo
# command manager:
mkdir ~/.config/pet
scp templ-host:~/.config/pet/config.toml ~/.config/pet/
touch snippet.toml
pet sync
# standalone tools installer:
scp templ-host:~/.local/bin/eget ~/.local/bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment