Compare commits

...

3 Commits

7 changed files with 34 additions and 37 deletions

19
.ecrc Normal file
View File

@@ -0,0 +1,19 @@
{
"Version": "2.7.0",
"Verbose": false,
"Debug": false,
"IgnoreDefaults": false,
"SpacesAftertabs": false,
"NoColor": false,
"Exclude": [],
"AllowedContentTypes": [],
"PassedFiles": [],
"Disable": {
"EndOfLine": false,
"Indentation": false,
"InsertFinalNewline": false,
"TrimTrailingWhitespace": false,
"IndentSize": false,
"MaxLineLength": false
}
}

7
.shellcheckrc Normal file
View File

@@ -0,0 +1,7 @@
# This is shellcheck configuration file.
# Set whether or not to follow arbitrary file
# paths in source statements (since 0.8.0).
external-sources=true
includeAllWorkspaceSymbols=true

View File

@@ -3,6 +3,7 @@
autoload -U colors zsh/terminfo autoload -U colors zsh/terminfo
colors colors
setopt correct
# Defaults # Defaults
export DOTFILES="$HOME/.dotfiles" export DOTFILES="$HOME/.dotfiles"

View File

@@ -25,7 +25,7 @@ return { -- Add the community repository of plugin specific
}, },
{ import = "astrocommunity.code-runner.overseer-nvim" }, { import = "astrocommunity.code-runner.overseer-nvim" },
--- { import = "astrocommunity.diagnostics.lsp_lines-nvim" }, --- { import = "astrocommunity.diagnostics.lsp_lines-nvim" },
--- { import = "astrocommunity.diagnostics.trouble-nvim" }, { import = "astrocommunity.diagnostics.trouble-nvim" },
{ import = "astrocommunity.editing-support.refactoring-nvim" }, { import = "astrocommunity.editing-support.refactoring-nvim" },
{ import = "astrocommunity.editing-support.neogen" }, { import = "astrocommunity.editing-support.neogen" },
{ import = "astrocommunity.editing-support.nvim-regexplainer" }, { import = "astrocommunity.editing-support.nvim-regexplainer" },

View File

@@ -1,33 +0,0 @@
#!/usr/bin/env bash
set -e
CONFIG="install.conf.yaml"
DOTBOT_DIR="dotbot"
DOTBOT_BIN="bin/dotbot"
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
DOTBOT_HOST="$(hostname -s)" || ''
DOTBOT_BIN_PATH="${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}"
cd "$BASEDIR"
git submodule sync --quiet --recursive
git submodule update --init --recursive
"${DOTBOT_BIN_PATH}" \
-d "${BASEDIR}" \
--plugin-dir=dotbot-include \
-c "${CONFIG}" \
"${@}"
if [ "${DOTBOT_HOST}" != "" ]; then
DOTBOT_HOST_CONFIG="${BASEDIR}/hosts/${DOTBOT_HOST}/${CONFIG}"
echo "-> Trying if host config can be found: ${DOTBOT_HOST_CONFIG}"
[ -r "$DOTBOT_HOST_CONFIG" ] && [ -f "$DOTBOT_HOST_CONFIG" ] \
&& echo "(!) Found $DOTBOT_HOST_CONFIG" \
&& "$DOTBOT_BIN_PATH" \
-d "$BASEDIR" \
--plugin-dir=dotbot-include \
-c "$DOTBOT_HOST_CONFIG" \
"${@}"
fi

View File

@@ -1,4 +1,4 @@
- include: 'hosts/defaults.yaml' - include: "hosts/defaults.yaml"
- clean: - clean:
~/: ~/:
~/.config: ~/.config:
@@ -9,6 +9,7 @@
~/.cache: ~/.cache:
~/.cache/git: ~/.cache/git:
~/.config: ~/.config:
~/.config/cheat/cheatsheets/personal:
~/.local: ~/.local:
~/.local/run: ~/.local/run:
~/.local/share: ~/.local/share:

View File

@@ -61,7 +61,7 @@ function section_install
$0 install z $0 install z
;; ;;
antigen) antigen)
curl -L git.io/antigen > "$DOTFILES/local/bin/antigen.zsh" \ curl -sSfL git.io/antigen -o "$DOTFILES/local/bin/antigen.zsh" \
&& msg_yay "New antigen installed!" && msg_yay "New antigen installed!"
;; ;;
composer) composer)
@@ -92,7 +92,9 @@ function section_install
&& msg_yay "imagick installed!" && msg_yay "imagick installed!"
;; ;;
starship) starship)
curl -sS https://starship.rs/install.sh | sh -s -- --bin-dir ~/.local/bin \ curl -sS https://starship.rs/install.sh | sh -s -- \
--bin-dir ~/.local/bin \
--yes \
&& msg_yay "starship installed!" && msg_yay "starship installed!"
;; ;;
macos) macos)