fish: fix sourcing errors on ssh servers
This commit is contained in:
@@ -103,5 +103,15 @@ if type -q git
|
||||
|
||||
if type -q 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
|
||||
|
||||
@@ -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"
|
||||
|
||||
if test -f "$env_config"
|
||||
|
||||
Reference in New Issue
Block a user