feat: added keychain for linux/wsl

This commit is contained in:
2021-11-20 11:06:20 -05:00
parent 9a6217ac4b
commit 149ba67117
4 changed files with 5 additions and 1 deletions

View File

@@ -46,7 +46,7 @@ if [ "$system_type" = "Linux" ]; then
# Install apt stuff
sudo apt update -y
sudo apt upgrade -y
sudo apt install -y zsh software-properties-common python-dev python3-dev python3-pip urlview apt-transport-https
sudo apt install -y zsh software-properties-common python-dev python3-dev python3-pip urlview apt-transport-https keychain
# Install node if necessary
if ! command -v node >/dev/null 2>&1; then

1
.config/zsh/keychain.zsh Symbolic link
View File

@@ -0,0 +1 @@
keychain.zsh##os.WSL

View File

@@ -0,0 +1,2 @@
/usr/bin/keychain -q --nogui $HOME/.ssh/id_rsa
source $HOME/.keychain/$HOST-sh

View File

@@ -0,0 +1 @@
keychain.zsh##os.Linux