Skip to content

Hdoc1509/dotfiles

Repository files navigation

Dotfiles

This repo hosts my personal settings for gh, git,bash, zsh, and other tools I commonly use.

Requirements

For Windows you will need scoop

Install

This installation is supposed to run a fresh install of all the tools.

git clone --depth=1 https://github.com/Hdoc1509/shell-fns.git ~/.shell-fns
git clone --depth=1 https://github.com/romkatv/gitstatus.git ~/gitstatus

git clone https://github.com/Hdoc1509/dotfiles.git ~/.dotfiles

cd ~/.dotfiles

# backup shellrc files
mv ~/.bashrc ~/.bashrc.bak
mv ~/.zshrc ~/.zshrc.bak

# install scripts
./install/windows.sh # for Windows
./install/linux.sh   # for Ubuntu-based Linux distros

Browsers

Firefox

Waterfox

Command to use as default browser:

flatpak run net.waterfox.waterfox "%s"

Brave

Windows

There are some shortcuts and scripts for Windows inside windows folder.

  • Shortcuts must be copied into C:\Windows\ folder.
  • Scripts must be run as administrator by clicking Run as administrator.

Trouble-shooting

Screen resolution

If you have problems with screen resolution on Ubuntu-based Linux distributions, run the following command:

cd ~/.dotfiles

cat shell/.profile >>~/.profile

# then execute ./shell/.profile
./shell/.profile

Ownership of mounted drives

Retrieve the owner id of the user:

id -u

Let's say the retrieved id is 1000.

Use the id for the following mounting options using Disks utility:

uid=1000,gid=1000

About

My Dotfiles

Resources

Stars

1 star

Watchers

1 watching

Forks

Contributors