♻ refactor(xdg): XDG_CONFIG_HOME compliance
This commit is contained in:
parent
67ab0183b1
commit
91daec3bf3
6 changed files with 12 additions and 4 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
7
.config/fish/conf.d/30-wget.fish
Normal file
7
.config/fish/conf.d/30-wget.fish
Normal file
|
@ -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
|
|
@ -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"
|
||||
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
||||
|
|
Loading…
Reference in a new issue