fix sshkey alias, load asdf if available

This commit is contained in:
Inhji 2023-06-11 10:02:35 +02:00
parent 5dc8c6fd7e
commit d990f6dbd4
1 changed files with 5 additions and 1 deletions

View File

@ -34,8 +34,12 @@ alias sta="sudo systemctl status"
alias dot="hx $DOTFILES"
alias notes="hx $NOTES"
alias sshkey='ssh-keygen -t ed25519 -f $HOME/.ssh/id_ed25519 -C "$(whoami)@$(hostname)-$(date +'%y%m%d')"'
alias sshkey='ssh-keygen -t ed25519 -f $HOME/.ssh/id_ed25519 -C "(whoami)@(hostname)-(date +'%y%m%d')"'
if status is-interactive
# Commands to run in interactive sessions can go here
end
if test -e ~/.asdf/asdf.fish
source ~/.asdf/asdf.fish
end