From 3767c658d7e30d36685a99daab4aabb4c69f4bfd Mon Sep 17 00:00:00 2001 From: dmahacker Date: Mon, 13 May 2024 10:14:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9rc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .ssh/dma-config | 14 ++++++++++++++ .zshrc | 8 +++----- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.ssh/dma-config b/.ssh/dma-config index e7a4ce8..5ebb384 100644 --- a/.ssh/dma-config +++ b/.ssh/dma-config @@ -7,6 +7,15 @@ PubkeyAcceptedKeyTypes +ssh-dss IdentityFile ~/.ssh/dma-key ServerAliveInterval 60 +Host dev + Hostname 10.123.191.100 + Port 13911 + User root + +Host archdev + Hostname 10.123.191.104 + User dma + Host github.com Hostname ssh.github.com Port 443 @@ -21,3 +30,8 @@ Host gate Hostname 192.168.124.1 Port 22 User root + +Host qhack + HostName qhack.cn + User root + diff --git a/.zshrc b/.zshrc index f6739e4..1d48cef 100644 --- a/.zshrc +++ b/.zshrc @@ -1,6 +1,9 @@ export ZSH_DISABLE_COMPFIX=true export ZSH="$HOME/.oh-my-zsh" export ZSH_CUSTOM="$HOME/.oh-my-zsh-custom" +export NVM_DIR="$HOME/.nvm" +[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" +[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" ZSH_THEME="headline" @@ -13,8 +16,3 @@ plugins=( source ~/.keychain.sh source ~/.rc.sh source $ZSH/oh-my-zsh.sh -source /usr/share/nvm/init-nvm.sh > /dev/null 2>&1 - -export NVM_DIR="$HOME/.nvm" -[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm -[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion