diff --git a/.curlrc b/.config/.curlrc similarity index 100% rename from .curlrc rename to .config/.curlrc diff --git a/.config/fish/conf.d/20-aliases.fish b/.config/fish/conf.d/20-aliases.fish index 1629d8c..926414a 100644 --- a/.config/fish/conf.d/20-aliases.fish +++ b/.config/fish/conf.d/20-aliases.fish @@ -3,7 +3,7 @@ # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Shell aliases. -abbr -a rl --position command "source ~/.config/fish/config.fish" +abbr -a rl --position command "source $XDG_CONFIG_HOME/fish/config.fish" abbr -a c --position command clear abbr -a e --position command "$EDITOR" abbr -a v --position command "$EDITOR" diff --git a/.config/fish/conf.d/30-lazygit.fish b/.config/fish/conf.d/30-lazygit.fish index 02be6df..0cf92f0 100644 --- a/.config/fish/conf.d/30-lazygit.fish +++ b/.config/fish/conf.d/30-lazygit.fish @@ -1,7 +1,7 @@ #!/usr/bin/env fish function lzg --wraps=lazygit - set -f configs "$HOME/.config/lazygit/config.yml,$HOME/.themes/lazygit/catppuccin/themes-mergable/macchiato/pink.yml" + set -f configs "$XDG_CONFIG_HOME/lazygit/config.yml,$HOME/.themes/lazygit/catppuccin/themes-mergable/macchiato/pink.yml" if test "$(pwd)" = "$HOME" lazygit --use-config-file="$configs" --work-tree="$HOME" --git-dir="$HOME/.dot" diff --git a/.config/fish/conf.d/30-wget.fish b/.config/fish/conf.d/30-wget.fish new file mode 100644 index 0000000..5abbcdd --- /dev/null +++ b/.config/fish/conf.d/30-wget.fish @@ -0,0 +1,7 @@ +#!/usr/bin/env fish + +set -gx WGETRC "$XDG_CONFIG_HOME/wgetrc" + +function wget --wraps wget + wget --hsts-file="$XDG_CACHE_HOME/wget-hsts" +end diff --git a/.config/git/hooks/prepare-commit-msg b/.config/git/hooks/prepare-commit-msg index 1c552d2..416ba46 100755 --- a/.config/git/hooks/prepare-commit-msg +++ b/.config/git/hooks/prepare-commit-msg @@ -14,7 +14,7 @@ result ') set -l types \ - "build: Changes that affect the build system or external dependancies" \ + "build: Changes that affect the build system or external dependencies" \ "ci: Changes to the CI configuration files and scripts" \ "docs: Documentation only changes" \ "feat: A new feature" \ @@ -22,7 +22,8 @@ set -l types \ "perf: A code change that improves performance" \ "refactor: A code change that neither fixes a bug nor adds a feature" \ "style: Changes that do not affect the meaning of the code" \ - "test: Adding missing tests or correcting existing tests" + "test: Adding missing tests or correcting existing tests" \ + "chore: Update dependencies; bump version numbers; etc" # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/.wgetrc b/.config/wgetrc similarity index 100% rename from .wgetrc rename to .config/wgetrc