Skip to content

Commit d96ebfa

Browse files
committed
move dotfiles config to xdg
1 parent d468d84 commit d96ebfa

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

bin/dotfiles.fish

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/usr/pkg/bin/fish
22

3-
set -q DOT_CONFIG_DIR || set DOT_CONFIG_DIR $XDG_CONFIG_DIR/dotfiles
3+
set -q DOT_CONFIG_DIR || set DOT_CONFIG_DIR $XDG_CONFIG_HOME/dotfiles
44
set -q DOT_FILES_DIR || set DOT_FILES_DIR $HOME/.local/src/github.com/mbauhardt/dotfiles
5-
if test -f "$DOT_CONFIG_DIR/.dotfilesrc"
6-
source "$DOT_CONFIG_DIR/.dotfilesrc"
5+
if test -f "$DOT_CONFIG_DIR/config"
6+
source "$DOT_CONFIG_DIR/config"
77
end
88

99
function _help

lib/clean_dotfiles.fish

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
set dots 'msmtp' 'isync'
21
echo "Delete all symblic links from the given modules: '$dots'"
32
echo "Do you want to continue? (y/n)"
43
read con

lib/install_dotfiles.fish

-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
set dots 'msmtp' 'isync'
21
echo "Link all files from the given modules: '$dots'"
32
echo "Do you want to continue? (y/n)"
43
read con
@@ -12,8 +11,6 @@ for d in $dots
1211
# -t target
1312
stow --ignore 'post-install-dotfiles.zsh' --ignore 'post-install-software.zsh' --ignore 'install-software.zsh' -v -R -t $HOME -d $DOT_FILES_DIR/dots $d
1413

15-
#[[ ! -a ${DOTFILESDIR:-$HOME/dotfiles}/dots/$d/post-install-dotfiles.zsh ]] && continue
16-
#printf "[%s] Source post-install-dotfiles script.\n" "${d}" && source ${DOTFILESDIR:-$HOME/dotfiles}/dots/$d/post-install-dotfiles.zsh
1714
end
1815

1916

0 commit comments

Comments
 (0)