1
mirror of https://github.com/jakejarvis/dotfiles.git synced 2025-04-26 03:45:21 -04:00

ssh shortcuts

This commit is contained in:
Jake Jarvis 2021-10-08 10:03:38 -04:00
parent 1329ec8f95
commit b611c02fb9
Signed by: jake
GPG Key ID: 2B0C9CF251E69A39
5 changed files with 48 additions and 7 deletions

View File

@ -57,7 +57,7 @@ packages=(
)
for p in "${packages[@]}"; do
volta run --no-yarn npm install --global "$p" || echo "$p not found"
volta run --no-yarn -- npm install --global "$p" || echo "$p not found"
done
volta list all

View File

@ -40,12 +40,54 @@ Host tufts
ForwardAgent yes
Host code
HostName code.jarv.is
# tailscale IP:
HostName 100.76.96.117
User root
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
ForwardAgent yes
Host tor
# tailscale IP:
HostName 100.68.159.54
User root
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
ForwardAgent yes
Host y2k
# tailscale IP:
HostName 100.79.167.105
Port 32422
User root
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
ForwardAgent yes
Host nas
# home net:
HostName 192.168.20.11
User jake
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
ForwardAgent yes
Host seed
# home net:
HostName 192.168.20.12
User jake
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
ForwardAgent yes
Host argo
# home net:
HostName 192.168.20.13
User jake
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
ForwardAgent yes
Host github.com
HostName github.com
User git

View File

@ -30,7 +30,6 @@ plugins=(
vscode
gitignore
gnu-utils
zsh_reload
zsh-syntax-highlighting
zsh-autosuggestions
)

View File

@ -46,10 +46,10 @@ update() {
echo -e "${YELLOW}Updating NPM/Yarn packages...${NC}"
volta install node@latest
volta install npm@6 # having issues with npm@7 and volta
volta install npm@6
volta install yarn@1
volta run --no-yarn --node latest --npm 6 npm update --global
volta run --node latest --yarn 1 yarn global upgrade
volta run --node latest --npm 6 --no-yarn -- npm update --global
volta run --node latest --yarn 1 -- yarn global upgrade
echo -e "${YELLOW}Updating Ruby gems...${NC}"
gem update --system

@ -1 +1 @@
Subproject commit 6e0e950154a4c6983d9e077ed052298ad9126144
Subproject commit 1a9264bc661b3d52756916bf9ec3f41687d64db2