Reload application database script

This commit is contained in:
Martin Blazik
2020-09-03 06:10:56 +02:00
parent 1aa3bd05f1
commit 95c4d57391
2 changed files with 14 additions and 0 deletions

View File

@@ -1,6 +1,11 @@
# 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

9
scripts/update-desktop-apps.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
# $HOME/.local/share/applications/*.desktop
# /usr/share/applications/*.desktop
set -x
sudo update-desktop-database