1
0
Fork 0

config changes

This commit is contained in:
Luca Bilke 2024-05-23 18:57:09 +02:00
parent 2469866d2e
commit e04dd12df8
5 changed files with 13 additions and 5 deletions

View File

@ -4,7 +4,7 @@ co $XDG_DOCUMENTS_DIR/dev
dk $XDG_DESKTOP_DIR dk $XDG_DESKTOP_DIR
dl $XDG_DOWNLOAD_DIR dl $XDG_DOWNLOAD_DIR
dm $XDG_DOCUMENTS_DIR dm $XDG_DOCUMENTS_DIR
ds $STOW_DIR/dots ds $XDG_DATA_HOME/dots
dt $XDG_DATA_HOME dt $XDG_DATA_HOME
e /etc e /etc
h $HOME h $HOME

View File

@ -5,7 +5,7 @@ map gco cd ~/Documents/dev
map gdk cd ~/Desktop map gdk cd ~/Desktop
map gdl cd ~/Downloads map gdl cd ~/Downloads
map gdm cd ~/Documents map gdm cd ~/Documents
map gds cd ~/.local/share/stow/dots map gds cd ~/.local/share/dots
map gdt cd ~/.local/share map gdt cd ~/.local/share
map ge cd /etc map ge cd /etc
map gh cd ~ map gh cd ~

View File

@ -1 +1 @@
../../../../../../../Documents/dev/tralios/tralios-kube/_kube ../../../Documents/dev/tralios/tralios-kube/_kube

View File

@ -5,7 +5,7 @@ hash -d co=~/Documents/dev
hash -d dk=~/Desktop hash -d dk=~/Desktop
hash -d dl=~/Downloads hash -d dl=~/Downloads
hash -d dm=~/Documents hash -d dm=~/Documents
hash -d ds=~/.local/share/stow/dots hash -d ds=~/.local/share/dots
hash -d dt=~/.local/share hash -d dt=~/.local/share
hash -d e=/etc hash -d e=/etc
hash -d h=~ hash -d h=~

View File

@ -20,7 +20,7 @@ baregit() {
git clone --bare git@git.snaile.de:luca/dotfiles "$gitdir" git clone --bare git@git.snaile.de:luca/dotfiles "$gitdir"
baregit checkout baregit checkout
baregit config status.showUntrackedFiles no # baregit config status.showUntrackedFiles no
cd "$target" || exit cd "$target" || exit
for f in *; do for f in *; do
@ -30,7 +30,15 @@ baregit() {
} }
done done
cd - || exit cd - || exit
cat <<EOF >>"$gitdir/info/exclude"
/*
!/\.config
!/\.local
/\.local/share/dots
/\.local/share/service
EOF
echo ".local/share/dots" >>"$gitdir/info/exclude" echo ".local/share/dots" >>"$gitdir/info/exclude"
} }