Skip to content

Commit

Permalink
rename modules dir
Browse files Browse the repository at this point in the history
  • Loading branch information
pPrecel committed Jul 27, 2024
1 parent bd9839d commit 2a43fb3
Show file tree
Hide file tree
Showing 31 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions bootstrap.fish
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ make 'check prerequisites'
and success 'check prerequisites'
or abort "Install 'fish', 'git', 'vim', and 'brew' first"

for init in install_pre/*/init.fish
for init in pre_modules/*/init.fish
set -l STEP_NAME $(basename $(dirname $init))
make Configuring $STEP_NAME
and run_with_prefix fish $init
and success Configured $STEP_NAME
or abort Aborted $STEP_NAME
end

for init in install/*/init.fish
for init in modules/*/init.fish
set -l STEP_NAME $(basename $(dirname $init))
make Configuring $STEP_NAME
and run_with_prefix fish $init
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions install/fish/init.fish → modules/fish/init.fish
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/usr/bin/env fish

set DOTFILES_ROOT (pwd -P)
set STEP_PATH $DOTFILES_ROOT/install/fish
set STEP_PATH $DOTFILES_ROOT/modules/fish
set FISH_CONFIG "$HOME/.config/fish"
source $DOTFILES_ROOT/lib/*

set -l plugins (cat $DOTFILES_ROOT/install/fish/fisher_list)
set -l plugins (cat $DOTFILES_ROOT/modules/fish/fisher_list)
fisher install $plugins >/dev/null
and info_installation_complete "fisher plugins"
or abort "fisher plugins"
Expand Down
2 changes: 1 addition & 1 deletion install/iterm2/init.fish → modules/iterm2/init.fish
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env fish

set DOTFILES_ROOT (pwd -P)
set STEP_PATH $DOTFILES_ROOT/install/iterm2
set STEP_PATH $DOTFILES_ROOT/modules/iterm2
source $DOTFILES_ROOT/lib/*

if test -f /Library/Fonts/"RobotoMonoNerdFont-Regular.ttf"
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion install/k9s/init.fish → modules/k9s/init.fish
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env fish

set DOTFILES_ROOT (pwd -P)
set STEP_PATH $DOTFILES_ROOT/install/k9s
set STEP_PATH $DOTFILES_ROOT/modules/k9s
set K9S_CONFIG "$HOME/.config/k9s"
source $DOTFILES_ROOT/lib/*

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion install/tmux/init.fish → modules/tmux/init.fish
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env fish

set DOTFILES_ROOT (pwd -P)
set STEP_PATH $DOTFILES_ROOT/install/tmux
set STEP_PATH $DOTFILES_ROOT/modules/tmux
source $DOTFILES_ROOT/lib/*

if test -d ~/.tmux/plugins/tpm
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion install/vim/init.fish → modules/vim/init.fish
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env fish

set DOTFILES_ROOT (pwd -P)
set STEP_PATH $DOTFILES_ROOT/install/vim
set STEP_PATH $DOTFILES_ROOT/modules/vim
source $DOTFILES_ROOT/lib/*

if test -f ~/.vim/autoload/plug.vim
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion install/vscode/init.fish → modules/vscode/init.fish
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env fish

set DOTFILES_ROOT (pwd -P)
set STEP_PATH $DOTFILES_ROOT/install/vscode
set STEP_PATH $DOTFILES_ROOT/modules/vscode
source $DOTFILES_ROOT/lib/*

if test -f /Library/Fonts/"DejaVuSansMNerdFont-Regular.ttf"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ end
set -l brew_list
while read -la line
set brew_list $brew_list $line
end < $DOTFILES_ROOT/install_pre/pkg_manager/$file_name
end < $DOTFILES_ROOT/pre_modules/pkg_manager/$file_name

for val in $brew_list
make "Installing $val..."
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
set DOTFILES_ROOT (pwd -P)
source $DOTFILES_ROOT/lib/lib.fish

set BREW_INSTALL $DOTFILES_ROOT/install_pre/pkg_manager/brew.fish
set BREW_INSTALL $DOTFILES_ROOT/pre_modules/pkg_manager/brew.fish

# TODO: support linux
make 'Update brew'
Expand Down

0 comments on commit 2a43fb3

Please sign in to comment.