You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
marc
a68653c0bb
|
4 years ago | |
---|---|---|
.config | 4 years ago | |
.pam_environment | 4 years ago | |
.xinitrc | 4 years ago | |
README.md | 4 years ago |
README.md
Source: [https://www.atlassian.com/git/tutorials/dotfiles]
Required tools
Alacritty
Download from here: [https://github.com/jwilm/alacritty/releases]
apt install ./Alacri*
apt install libxcursor
update-alternatives --install /usr/bin/x-terminal-emulator x-terminal-emulator /usr/bin/alacritty 20
Evtl. für Terminfo im Repository unter Extras noch alacritty.info ziehen und
tic -xe alacritty,alacritty-direct alacritty.info
bspwm
sxhkd
zsh
Install Hack Nerd Font from here [https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/Hack]
unzip Hack*
cd ttf
cp ./* ~/.local/share/fonts/
fc-cache -f -v
fc-list | grep "Hack"
to permamently switch shell to zsh:
chsh -s $(which zsh)
link configs to XDG_CONFIG_HOME
ln -s /home/marc/.config/zsh/.zshenv /home/marc/.zshenv
ln -s /home/marc/.config/zsh/.zshrc /home/marc/.zshrc
Initialization
git init --bare $HOME/dotfiles
alias dot="/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME" (add this to .zshenv or .bashrc)
source .zshenv
dot config --local status.showUntrackedFiles no
git remote add origin https://gitea.cloudpshere.duckdns.org/marc/dotfiles.git
git remote -v
Usage
Add or edit files in repository
dot add /path/to/file
dot commit -m "some message"
dot push
move to a new computer
cd
alias dot="/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME" (add to .bashrc)
source .bashrc
echo "dotfiles" >> .gitignore
git clone --bare https://gitea.cloudsphere.duckdns.org/marc/dotfiles.git $HOME/dotfiles
dot checkout
cd dotfiles
dot config --local status.showUntrackedFiles no
pull repository
dot clone https://gitea.cloudsphere.duckdns.org/marc/dotfiles.git
dot pull origin master