mirror of
https://github.com/jakejarvis/dotfiles.git
synced 2025-11-04 22:10:09 -05:00
ssh shortcuts
This commit is contained in:
@@ -57,7 +57,7 @@ packages=(
|
|||||||
)
|
)
|
||||||
|
|
||||||
for p in "${packages[@]}"; do
|
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
|
done
|
||||||
|
|
||||||
volta list all
|
volta list all
|
||||||
|
|||||||
@@ -40,12 +40,54 @@ Host tufts
|
|||||||
ForwardAgent yes
|
ForwardAgent yes
|
||||||
|
|
||||||
Host code
|
Host code
|
||||||
HostName code.jarv.is
|
# tailscale IP:
|
||||||
|
HostName 100.76.96.117
|
||||||
User root
|
User root
|
||||||
IdentityFile ~/.ssh/id_ed25519
|
IdentityFile ~/.ssh/id_ed25519
|
||||||
IdentitiesOnly yes
|
IdentitiesOnly yes
|
||||||
ForwardAgent 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
|
Host github.com
|
||||||
HostName github.com
|
HostName github.com
|
||||||
User git
|
User git
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ plugins=(
|
|||||||
vscode
|
vscode
|
||||||
gitignore
|
gitignore
|
||||||
gnu-utils
|
gnu-utils
|
||||||
zsh_reload
|
|
||||||
zsh-syntax-highlighting
|
zsh-syntax-highlighting
|
||||||
zsh-autosuggestions
|
zsh-autosuggestions
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -46,10 +46,10 @@ update() {
|
|||||||
|
|
||||||
echo -e "${YELLOW}Updating NPM/Yarn packages...${NC}"
|
echo -e "${YELLOW}Updating NPM/Yarn packages...${NC}"
|
||||||
volta install node@latest
|
volta install node@latest
|
||||||
volta install npm@6 # having issues with npm@7 and volta
|
volta install npm@6
|
||||||
volta install yarn@1
|
volta install yarn@1
|
||||||
volta run --no-yarn --node latest --npm 6 npm update --global
|
volta run --node latest --npm 6 --no-yarn -- npm update --global
|
||||||
volta run --node latest --yarn 1 yarn global upgrade
|
volta run --node latest --yarn 1 -- yarn global upgrade
|
||||||
|
|
||||||
echo -e "${YELLOW}Updating Ruby gems...${NC}"
|
echo -e "${YELLOW}Updating Ruby gems...${NC}"
|
||||||
gem update --system
|
gem update --system
|
||||||
|
|||||||
Reference in New Issue
Block a user