mirror of
https://github.com/tedkulp/dotfiles
synced 2026-03-05 13:40:18 -05:00
feat: added keychain for linux/wsl
This commit is contained in:
@@ -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
1
.config/zsh/keychain.zsh
Symbolic link
@@ -0,0 +1 @@
|
||||
keychain.zsh##os.WSL
|
||||
2
.config/zsh/keychain.zsh##os.Linux
Normal file
2
.config/zsh/keychain.zsh##os.Linux
Normal file
@@ -0,0 +1,2 @@
|
||||
/usr/bin/keychain -q --nogui $HOME/.ssh/id_rsa
|
||||
source $HOME/.keychain/$HOST-sh
|
||||
1
.config/zsh/keychain.zsh##os.WSL
Symbolic link
1
.config/zsh/keychain.zsh##os.WSL
Symbolic link
@@ -0,0 +1 @@
|
||||
keychain.zsh##os.Linux
|
||||
Reference in New Issue
Block a user