Renamed servers + added aliases for nginx

main
Guus van Meerveld 2 years ago
parent 2ef73e1e5c
commit 50a7c8259b
Signed by: Guusvanmeerveld
GPG Key ID: 2BA7D7912771966E

@ -1,6 +1,10 @@
# Docker # Docker
alias d="docker" alias d="docker"
alias dc="docker-compose up -d" alias dc="docker compose up -d"
# NGINX
alias nce="$EDITOR ~/containers/nginx/config/config.js"
alias ncu="docker kill nginx -s HUP"
# yay # yay
alias debloat="yay -c" alias debloat="yay -c"

@ -7,8 +7,7 @@ export ZSH=~/.oh-my-zsh
# Theme # Theme
ZSH_THEME="powerlevel10k/powerlevel10k" ZSH_THEME="powerlevel10k/powerlevel10k"
# Aliases export EDITOR="nvim"
source ~/.aliases
# Plugins # Plugins
plugins=(git colorize docker yarn debian vscode sudo alias-finder archlinux zsh-histdb zsh-autosuggestions) plugins=(git colorize docker yarn debian vscode sudo alias-finder archlinux zsh-histdb zsh-autosuggestions)
@ -22,13 +21,14 @@ if type rg &> /dev/null; then
export FZF_DEFAULT_OPTS='-m --height 50% --border' export FZF_DEFAULT_OPTS='-m --height 50% --border'
fi fi
export EDITOR="nvim"
# Keybinds # Keybinds
bindkey "^z" undo bindkey "^z" undo
bindkey "^y" redo bindkey "^y" redo
bindkey "^H" backward-kill-word bindkey "^H" backward-kill-word
bindkey "^ " autosuggest-accept bindkey "^ " autosuggest-accept
# Aliases
source ~/.aliases
# Powerlevel10k # Powerlevel10k
source ~/.p10k.zsh source ~/.p10k.zsh

@ -10,17 +10,17 @@ Host gitlab.com
PreferredAuthentications publickey PreferredAuthentications publickey
IdentityFile ~/.ssh/gitlab IdentityFile ~/.ssh/gitlab
Host server Host hound
User ubuntu User ubuntu
HostName 152.70.52.247 HostName 152.70.52.247
IdentityFile ~/.ssh/server IdentityFile ~/.ssh/hound
Host local-server Host wolf
User guus User guus
HostName 81.206.144.139 HostName 81.206.144.139
IdentityFile ~/.ssh/local-server IdentityFile ~/.ssh/wolf
Host mail-server Host fox
User ubuntu User ubuntu
HostName 158.101.195.59 HostName 158.101.195.59
IdentityFile ~/.ssh/mail-server IdentityFile ~/.ssh/fox