Skip to content

Latest commit

 

History

69 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

My dotfiles and setup scripts

Important

This repository is made for my personal use, so I can't guarantee that everything will work properly with your setup. However, feel free to copy or adapt any files to suit your needs.

Dotfiles

The dots/ directory contains my dotfiles, which are managed with stow.

Scripts

The scripts/ directory contains scripts for helping with setting up dotfiles and packages.

In order to use any script:

cd scripts/

# Add execution permission for the file if needed:
chmod +x ./script_name.sh

# Run the script:
./script_name.sh

post_install.sh

  • An all-in-one solution for making the setup process after a fresh OS install a bit easier

stow_dotfiles.sh

  • Symlinks all dotfiles from dots/ using stow

  • You can also pass the flag -D or --unstow to unstow dotfiles

install_pkgs_opensuse.sh

  • Adds repositories and installs packages for OpenSUSE Tumbleweed

Other

Oh My Zsh

Install Oh My Zsh:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

Path

# Dotnet
export PATH="/usr/share/dotnet/sdk:$PATH"
# Dotnet tools
export PATH="$PATH:$HOME/.dotnet/tools"

.gitconfig

[user]
	name = some-username
	email = some-username@some-domain.net
[credential "https://github.com"]
	helper =
	helper = !/usr/bin/gh auth git-credential
[credential "https://gist.github.com"]
	helper =
	helper = !/usr/bin/gh auth git-credential
[core]
	editor = nvim
    compression = 9
[init]
	defaultBranch = main

VSCode extensions

To restore (install) extensions from list:

cd dots/vscode/

cat extensions-list.txt | xargs -n 1 code --install-extension

To backup current extensions:

code --list-extensions > extensions-list.txt

About

My dotfiles and setup scripts

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages