diff --git a/.config/fish/config.fish b/.config/fish/config.fish index cb0b43c..88f9414 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -42,14 +42,6 @@ if test -f ~/.bash_aliases source ~/.bash_aliases end -# Alias windows openSSH installation -# set WIN_OPENSSH_DIR /mnt/c/Windows/System32/OpenSSH -# for file in $WIN_OPENSSH_DIR/* -# set base_name (basename $file) -# set alias_name (string replace -r '\.exe$' '' $base_name) -# alias $alias_name $file -# end - # Enable programmable completion features if test -f /usr/share/fish/completions source /usr/share/fish/completions @@ -82,7 +74,7 @@ set -gx PATH "$HOME/.local/bin" $PATH # Cargo setup source "$HOME/.cargo/env.fish" -if status is-login +if status is-login and test -n "$WSL_DISTRO_NAME" wsl2-ssh-agent | source end