scripts/centerim-enc
author Tomas Zeman <tomas@functionals.cz>
Mon, 27 Apr 2020 22:24:49 +0200
changeset 59 a3e588dcdcb3
parent 47 ac3f02c99e6c
permissions -rwxr-xr-x
vimb config/dark style (based on https://fanglingsu.github.io/vimb/howto.html)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
47
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     1
#!/bin/sh
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     2
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     3
C=$HOME/.centerim/config
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     4
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     5
gpg -d $C.asc > $C
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     6
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     7
sh -c "sleep 3; rm -f $C " &
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     8
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
     9
centerim
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    10
ac3f02c99e6c scripts/centerim-enc: gpg encrypted centerim configuration
Tomas Zeman <tzeman@volny.cz>
parents:
diff changeset
    11
rm -f $C