Skip to content

Commit 85deefe

Browse files
committed
feat: add gpg to set_env_ubuntu.sh
1 parent eacad01 commit 85deefe

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

set_env_ubuntu.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1+
#!/usr/bin/env bash
12
sudo apt-get install -y build-essential
23
sudo apt-get install -y vim git
34
git config --global user.name "imotai"
45
git config --global user.email "[email protected]"
5-
6+
addgnupghome imotai
7+
gpg --full-generate-key
8+
gpg --export --armor "[email protected]"
9+
git config --global commit.gpgsign true

set_vim.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env sh
1+
#!/usr/bin/env bash
22
mv ~/.vim ~/.vim.orig
33
mv ~/.vimrc ~/.vimrc.orig
44
cp -rf vim ~/.vim

0 commit comments

Comments
 (0)