Code Update

This commit is contained in:
Christer Warén 2024-06-24 06:32:58 +03:00
parent b36f98e5e9
commit 256a79e427
3 changed files with 10 additions and 10 deletions

View File

@ -1,11 +1,6 @@
wx-ssh(){
wx-login
mkdir -p $HOME/.ssh/keys
chmod 700 -R $HOME/.ssh/keys
mkdir -p $HOME/.ssh/multiplex
chmod 700 -R $HOME/.ssh/multiplex
case $1 in
keys)
wx-ssh-keys $2 $3

View File

@ -9,5 +9,10 @@ wx-start(){
then
echo '{}' | jq > $HOME/.config/warengroup/config.json
fi
mkdir -p $HOME/.ssh/keys
chmod 700 -R $HOME/.ssh/keys
mkdir -p $HOME/.ssh/multiplex
chmod 700 -R $HOME/.ssh/multiplex
fi
}

10
wx
View File

@ -72,6 +72,11 @@ wx-start(){
then
echo '{}' | jq > $HOME/.config/warengroup/config.json
fi
mkdir -p $HOME/.ssh/keys
chmod 700 -R $HOME/.ssh/keys
mkdir -p $HOME/.ssh/multiplex
chmod 700 -R $HOME/.ssh/multiplex
fi
}
@ -167,11 +172,6 @@ wx-infra(){
wx-ssh(){
wx-login
mkdir -p $HOME/.ssh/keys
chmod 700 -R $HOME/.ssh/keys
mkdir -p $HOME/.ssh/multiplex
chmod 700 -R $HOME/.ssh/multiplex
case $1 in
keys)
wx-ssh-keys $2 $3