lkjdsaljdsaljkdsalkjdsalkj

This commit is contained in:
2025-02-26 03:50:55 +01:00
parent 3379ffe568
commit 84625be167
2 changed files with 2 additions and 1 deletions

View File

@@ -11,6 +11,6 @@ function ns() {
export NIXPKGS_ALLOW_INSECURE
nix --extra-experimental-features "nix-command flakes" shell --impure "${args[@]}" -c sh -c 'echo $PATH'
)
test $? -eq 0 && -n "$tmp" || return 1
[[ $? -eq 0 && -n "$tmp" ]] || return 1
export PATH="$tmp"
}

View File

@@ -10,6 +10,7 @@
complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v '\*')" ssh
complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v '\*')" tssh
complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v '\*')" rssh
complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v '\*')" xssh
complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v '\*')" scp
complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v '\*')" remote-init
complete -W "$(cat ~/.ssh/config | grep "^Host " | cut -d" " -f2- | grep -v '\*')" remote-add