dotfiles Svelte Themes

Dotfiles

My dotfiles for Ubuntu. It's tiny and for Go/Svelte development

My ubuntu dotfiles

You need git to be installed before th Show:

sudo apt update -y
sudo apte upgrade -y
sudo apt install git

After this - just clone the repo and start and have fun:

git clone https://github.com/pafthang/docfiles /.dotfiles
./symlink
./install

Important:

Don't forgetn to change Git credentinals

Todo:

  • During clean installation you should run install.sh 2 times.
  • Backup symlinks + user need to choose not to symlink.
  • Issue with installing VS Code extenetion.

To install nodejs use n package manager (in example version 21 will be installed):

n 21

Workaround with n issue:

# make cache folder (if missing) and take ownership
sudo mkdir -p /usr/local/n
sudo chown -R $(whoami) /usr/local/n
# make sure the required folders exist (safe to execute even if they already exist)
sudo mkdir -p /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share
# take ownership of Node.js install destination folders
sudo chown -R $(whoami) /usr/local/bin /usr/local/lib /usr/local/include /usr/local/share

Install bun script:

curl -fsSL https://bun.sh/install | bash

After installation git config:

  1. Change git global settings:
git config --global user.name "your_name"
git config --global user.email "[email protected]"
  1. Check global setting in home/.gitconfig

  2. Generate ssh cert (just press enter on any question):

ssh-keygen -t ed25519 -C "[email protected]"
  1. Copy cert info to put it in github settings page:
cat ~/.ssh/id_ed25519.pub
  1. Paste it in github.com -> Settings -> Access -> SSH and GPG keys -> New SSH key or Add SSH key

Top categories

Loading Svelte Themes