12 lines
361 B
Fish
12 lines
361 B
Fish
|
#!/usr/bin/env fish
|
||
|
|
||
|
function lzg --wraps=lazygit
|
||
|
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"
|
||
|
else
|
||
|
lazygit --use-config-file="$configs"
|
||
|
end
|
||
|
end
|