Files
linux-workspace/scripts/bashrc-workspace
2020-09-03 06:10:56 +02:00

14 lines
496 B
Plaintext

# must be included from $HOME/.bashrc
# use source <path>/bashrc-workspace
# log from just one docker-compose service, remove initial name of service up to '|' character
function dcls {
dc logs --tail=all --no-color $1 | sed -r 's/^[^|]+[|] //'
}
# https://devblogs.microsoft.com/commandline/sharing-ssh-keys-between-windows-and-wsl-2/
# https://medium.com/@pscheit/use-an-ssh-agent-in-wsl-with-your-ssh-setup-in-windows-10-41756755993e
eval $(keychain --eval --quiet --agents ssh id_rsa)