mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-19 20:55:09 +00:00
chore(codestyle): Code style fixes, configs
This commit is contained in:
@@ -15,6 +15,10 @@ indent_size = 4
|
|||||||
indent_style = tab
|
indent_style = tab
|
||||||
indent_size = 1
|
indent_size = 1
|
||||||
|
|
||||||
|
[*.plist]
|
||||||
|
indent_size = 1
|
||||||
|
indent_style = tab
|
||||||
|
|
||||||
[local/bin/*]
|
[local/bin/*]
|
||||||
shell_variant = bash # --language-variant
|
shell_variant = bash # --language-variant
|
||||||
binary_next_line = true
|
binary_next_line = true
|
||||||
|
|||||||
1
.github/workflows/changelog.yml
vendored
1
.github/workflows/changelog.yml
vendored
@@ -20,4 +20,3 @@ jobs:
|
|||||||
id: output-changelog
|
id: output-changelog
|
||||||
run: |
|
run: |
|
||||||
echo "${{ steps.changelog.outputs.changes }}"
|
echo "${{ steps.changelog.outputs.changes }}"
|
||||||
|
|
||||||
|
|||||||
@@ -5,4 +5,3 @@ git submodule add --name dotbot-brew -f https://github.com/wren/dotbot-brew.git
|
|||||||
git submodule add --name dotbot-include -f https://gitlab.com/gnfzdz/dotbot-include.git tools/dotbot-include
|
git submodule add --name dotbot-include -f https://gitlab.com/gnfzdz/dotbot-include.git tools/dotbot-include
|
||||||
git submodule add --name cheat-community -f https://github.com/cheat/cheatsheets.git config/cheat/cheatsheets/community
|
git submodule add --name cheat-community -f https://github.com/cheat/cheatsheets.git config/cheat/cheatsheets/community
|
||||||
git submodule add --name tmux/tpm -f https://github.com/tmux-plugins/tpm.git config/tmux/plugins/tpm
|
git submodule add --name tmux/tpm -f https://github.com/tmux-plugins/tpm.git config/tmux/plugins/tpm
|
||||||
|
|
||||||
|
|||||||
@@ -124,4 +124,3 @@ export SCREENRC="$XDG_CONFIG_HOME/misc/screenrc"
|
|||||||
export TMUX_CONF="$DOTFILES/config/tmux/tmux.conf"
|
export TMUX_CONF="$DOTFILES/config/tmux/tmux.conf"
|
||||||
export BAT_THEME="ansi"
|
export BAT_THEME="ansi"
|
||||||
export CHEAT_USE_FZF=true
|
export CHEAT_USE_FZF=true
|
||||||
|
|
||||||
|
|||||||
1
install
1
install
@@ -33,4 +33,3 @@ if [ "${DOTBOT_HOST}" != "" ]; then
|
|||||||
-c "$DOTBOT_HOST_CONFIG" \
|
-c "$DOTBOT_HOST_CONFIG" \
|
||||||
"${@}"
|
"${@}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -131,9 +131,7 @@ function section_install
|
|||||||
bash "$DOTFILES/scripts/install-z.sh" \
|
bash "$DOTFILES/scripts/install-z.sh" \
|
||||||
&& msg_yay "z has been installed!"
|
&& msg_yay "z has been installed!"
|
||||||
;;
|
;;
|
||||||
*)
|
*) menu_usage "$USAGE_PREFIX" "${MENU[@]}" ;;
|
||||||
menu_usage "$USAGE_PREFIX" "${MENU[@]}"
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -238,9 +236,7 @@ function section_dotfiles
|
|||||||
--binary-next-line {} \;
|
--binary-next-line {} \;
|
||||||
msg_yay "dotfiles have been shfmt formatted!"
|
msg_yay "dotfiles have been shfmt formatted!"
|
||||||
;;
|
;;
|
||||||
*)
|
*) menu_usage "$USAGE_PREFIX" "${MENU[@]}" ;;
|
||||||
menu_usage "$USAGE_PREFIX" "${MENU[@]}"
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -264,9 +260,7 @@ function section_check
|
|||||||
[[ "$2" = "" ]] && echo "$X_HOSTNAME" && exit 0
|
[[ "$2" = "" ]] && echo "$X_HOSTNAME" && exit 0
|
||||||
[[ $X_HOSTNAME = "$2" ]] && exit 0 || exit 1
|
[[ $X_HOSTNAME = "$2" ]] && exit 0 || exit 1
|
||||||
;;
|
;;
|
||||||
*)
|
*) menu_usage "$USAGE_PREFIX" "${MENU[@]}" ;;
|
||||||
menu_usage "$USAGE_PREFIX" "${MENU[@]}"
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -296,9 +290,7 @@ function section_tests
|
|||||||
msg_yay "msg_yay"
|
msg_yay "msg_yay"
|
||||||
msg_yay_done "msg_yay_done"
|
msg_yay_done "msg_yay_done"
|
||||||
;;
|
;;
|
||||||
*)
|
*) menu_usage "$USAGE_PREFIX" "${MENU[@]}" ;;
|
||||||
menu_usage "$USAGE_PREFIX" "${MENU[@]}"
|
|
||||||
;;
|
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
# shellcheck source="shared.sh"
|
# shellcheck source="shared.sh"
|
||||||
source "$HOME/.dotfiles/scripts/shared.sh"
|
source "$HOME/.dotfiles/scripts/shared.sh"
|
||||||
|
|
||||||
! have php && msg_err "PHP Not Available, cannot install composer" && exit 0;
|
! have php && msg_err "PHP Not Available, cannot install composer" && exit 0
|
||||||
|
|
||||||
EXPECTED_CHECKSUM="$(php -r 'copy("https://composer.github.io/installer.sig", "php://stdout");')"
|
EXPECTED_CHECKSUM="$(php -r 'copy("https://composer.github.io/installer.sig", "php://stdout");')"
|
||||||
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
|
||||||
@@ -21,4 +21,3 @@ RESULT=$?
|
|||||||
rm composer-setup.php
|
rm composer-setup.php
|
||||||
mv composer.phar ~/.local/bin/composer
|
mv composer.phar ~/.local/bin/composer
|
||||||
exit $RESULT
|
exit $RESULT
|
||||||
|
|
||||||
|
|||||||
@@ -14,4 +14,3 @@ if [ ! -d "$FZF_PATH" ]; then
|
|||||||
else
|
else
|
||||||
msg_done "fzf ($FZF_PATH/) already installed"
|
msg_done "fzf ($FZF_PATH/) already installed"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ source "$HOME/.dotfiles/scripts/shared.sh"
|
|||||||
|
|
||||||
! have gh \
|
! have gh \
|
||||||
&& msg_err "gh (GitHub Client) could not be found, please install it first" \
|
&& msg_err "gh (GitHub Client) could not be found, please install it first" \
|
||||||
&& exit 0;
|
&& exit 0
|
||||||
|
|
||||||
extensions=(
|
extensions=(
|
||||||
# GitHub CLI extension for generating a report on repository dependencies.
|
# GitHub CLI extension for generating a report on repository dependencies.
|
||||||
@@ -42,4 +42,3 @@ for ext in "${extensions[@]}"; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
msg_ok "Done"
|
msg_ok "Done"
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
# shellcheck source=shared.sh
|
# shellcheck source=shared.sh
|
||||||
source "$HOME/.dotfiles/scripts/shared.sh"
|
source "$HOME/.dotfiles/scripts/shared.sh"
|
||||||
|
|
||||||
! have go && msg "go hasn't been installed yet." && exit 0;
|
! have go && msg "go hasn't been installed yet." && exit 0
|
||||||
|
|
||||||
packages=(
|
packages=(
|
||||||
# sysadmin/scripting utilities, distributed as a single binary
|
# sysadmin/scripting utilities, distributed as a single binary
|
||||||
@@ -37,4 +37,3 @@ for pkg in "${packages[@]}"; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
msg_ok "Done"
|
msg_ok "Done"
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
source "$HOME/.dotfiles/scripts/shared.sh"
|
source "$HOME/.dotfiles/scripts/shared.sh"
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
have ntfy && msg "ntfy already installed" && exit 0;
|
have ntfy && msg "ntfy already installed" && exit 0
|
||||||
|
|
||||||
case $(dfm check arch) in
|
case $(dfm check arch) in
|
||||||
Linux)
|
Linux)
|
||||||
@@ -33,4 +33,3 @@ if [ ! -f "$HOME/.config/ntfy/client.yml" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
rm -rf "${NTFY_DEST}" "${NTFY_DEST}.tar.gz"
|
rm -rf "${NTFY_DEST}" "${NTFY_DEST}.tar.gz"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user