Skip to content

Commit

Permalink
FORK: move ~/.dfminstall to $XDG_CONFIG_HOME/dfm/install
Browse files Browse the repository at this point in the history
  • Loading branch information
erikw authored and Erik Westrup committed Oct 28, 2021
1 parent 4ba1dae commit 0a0230c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions bin/dfm
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ sub install_files {
my $cwd_before_install = getcwd();
chdir($target_dir);

my $dfm_install = _load_dfminstall("$source_dir/.dfminstall");
my $dfm_install = _load_dfminstall("$source_dir/.config/dfm/install");

if ( !-e $backup_dir ) {
DEBUG("Creating $backup_dir");
Expand Down Expand Up @@ -526,7 +526,7 @@ sub uninstall_files {

chdir($target_dir);

my $dfm_install = _load_dfminstall("$source_dir/.dfminstall");
my $dfm_install = _load_dfminstall("$source_dir/.config/dfm/install");

my $dirh;
opendir $dirh, $target_dir;
Expand Down Expand Up @@ -820,7 +820,7 @@ sub _file_in_tracked_or_untracked {
my $cwd_before_inspection = getcwd();
chdir($source_dir);

my $dfm_install = _load_dfminstall("$source_dir/.dfminstall");
my $dfm_install = _load_dfminstall("$source_dir/.config/dfm/install");

# skip vim swap files
return ('skip') if $file =~ /.*\.sw.$/;
Expand Down

0 comments on commit 0a0230c

Please sign in to comment.