修改rc
This commit is contained in:
parent
e327adc047
commit
3767c658d7
@ -7,6 +7,15 @@ PubkeyAcceptedKeyTypes +ssh-dss
|
|||||||
IdentityFile ~/.ssh/dma-key
|
IdentityFile ~/.ssh/dma-key
|
||||||
ServerAliveInterval 60
|
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
|
Host github.com
|
||||||
Hostname ssh.github.com
|
Hostname ssh.github.com
|
||||||
Port 443
|
Port 443
|
||||||
@ -21,3 +30,8 @@ Host gate
|
|||||||
Hostname 192.168.124.1
|
Hostname 192.168.124.1
|
||||||
Port 22
|
Port 22
|
||||||
User root
|
User root
|
||||||
|
|
||||||
|
Host qhack
|
||||||
|
HostName qhack.cn
|
||||||
|
User root
|
||||||
|
|
||||||
|
8
.zshrc
8
.zshrc
@ -1,6 +1,9 @@
|
|||||||
export ZSH_DISABLE_COMPFIX=true
|
export ZSH_DISABLE_COMPFIX=true
|
||||||
export ZSH="$HOME/.oh-my-zsh"
|
export ZSH="$HOME/.oh-my-zsh"
|
||||||
export ZSH_CUSTOM="$HOME/.oh-my-zsh-custom"
|
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"
|
ZSH_THEME="headline"
|
||||||
|
|
||||||
@ -13,8 +16,3 @@ plugins=(
|
|||||||
source ~/.keychain.sh
|
source ~/.keychain.sh
|
||||||
source ~/.rc.sh
|
source ~/.rc.sh
|
||||||
source $ZSH/oh-my-zsh.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
|
|
||||||
|
Loading…
Reference in New Issue
Block a user