fish: fix sourcing errors on ssh servers

This commit is contained in:
2025-12-06 18:13:11 +01:00
parent b4e8dcd75a
commit ed5688306b
3 changed files with 14 additions and 2 deletions

View File

@@ -103,5 +103,15 @@ if type -q git
if type -q wl-paste if type -q wl-paste
alias gc="git clone \$(wl-paste)" alias gc="git clone \$(wl-paste)"
if type -q idea
function pingo
cd "$HOME/Repositories/PGdP" || return 1
set -l repo (wl-paste)
git clone $repo || return 1
set -l repo_name (basename $repo .git)
nohup idea $repo_name > /dev/null 2>&1 & disown
end
end
end end
end end

View File

@@ -1,4 +1,4 @@
if test $XDG_CURRENT_DESKTOP = "niri" if test -n "$XDG_CURRENT_DESKTOP"; and test "$XDG_CURRENT_DESKTOP" = "niri"
set -l env_config "$HOME/.config/niri/config/envs.kdl" set -l env_config "$HOME/.config/niri/config/envs.kdl"
if test -f "$env_config" if test -f "$env_config"

View File

@@ -34,7 +34,8 @@
<!-- For danmuku --> <!-- For danmuku -->
<match target="pattern"> <match target="pattern">
<test name="family"> <test name="family">
<string>Noto Sans CJK SC</string></test> <string>Noto Sans CJK SC</string>
</test>
<edit name="family" mode="append"> <edit name="family" mode="append">
<string>Symbola</string> <string>Symbola</string>
</edit> </edit>
@@ -54,6 +55,7 @@
<family>system-ui</family> <family>system-ui</family>
<prefer> <prefer>
<family>Sarasa UI SC</family> <family>Sarasa UI SC</family>
<family>Sarasa UI J</family>
<family>Noto Color Emoji</family> <family>Noto Color Emoji</family>
<family>Symbols Nerd Font</family> <family>Symbols Nerd Font</family>
</prefer> </prefer>