diff --git a/scripts/bashrc-workspace b/scripts/bashrc-workspace index 0d1e222..4b61928 100644 --- a/scripts/bashrc-workspace +++ b/scripts/bashrc-workspace @@ -1,6 +1,11 @@ # must be included from $HOME/.bashrc # use source /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 diff --git a/scripts/update-desktop-apps.sh b/scripts/update-desktop-apps.sh new file mode 100755 index 0000000..8c5df0a --- /dev/null +++ b/scripts/update-desktop-apps.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# $HOME/.local/share/applications/*.desktop +# /usr/share/applications/*.desktop + +set -x + +sudo update-desktop-database +