Initial commit.

This commit is contained in:
Alex Huddleston 2020-05-16 15:20:41 -05:00
commit f06c69eb2d
2 changed files with 99 additions and 0 deletions

34
ssh/ssh-config Normal file
View file

@ -0,0 +1,34 @@
# SSH Config for local network
# NUC
Host shadow8t4-nuc
HostName 192.168.1.201
User shadow8t4
IdentityFile /home/shadow8t4/.ssh/id_ed25519
# Optiplex
Host shadow8t4-nas
HostName 192.168.1.202
User shadow8t4
IdentityFile /home/shadow8t4/.ssh/id_ed25519
# NUC - Remote
Host werefox-nuc
HostName werefox.dev
Port 20202
User shadow8t4
IdentityFile /home/shadow8t4/.ssh/id_ed25519
# Optiplex Remote
Host werefox-nas
HostName werefox.dev
Port 22222
User shadow8t4
IdentityFile /home/shadow8t4/.ssh/id_ed25519
# Vultr VPS
Host werefox-vps
HostName werefox.dev
Port 22
User shadow8t4
IdentityFile /home/shadow8t4/.ssh/id_ed25519

65
zsh/zshrc Normal file
View file

@ -0,0 +1,65 @@
# New .zshrc who dis
# NECESSARY IMPORTS
# | This is a section for adding imports that allow certain things to be
# | accessible, such as "nodenv", "rustup", "pyenv", etc.
# Base16 Shell
BASE16_SHELL="$HOME/.config/base16-shell/"
[ -n "$PS1" ] && \
[ -s "$BASE16_SHELL/profile_helper.sh" ] && \
eval "$("$BASE16_SHELL/profile_helper.sh")"
# Antigen
ANTIGEN="$HOME/.local/share/antigen.zsh"
[ -n "$PS1" ] && \
[ -s "$ANTIGEN" ] && \
source $ANTIGEN
# Pyenv
export PATH="$HOME/.pyenv/bin:$PATH"
export PATH="$HOME/.local/share:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
pyenv shell 3.8.0
# thefuck, needs to happen after pyenv
export PATH="$HOME/.local/bin:$PATH"
eval $(thefuck --alias)
# This adds "nodenv" to the path
export PATH="$HOME/.nodenv/bin:$PATH"
eval "$(nodenv init -)"
# This adds rustup to the path
export PATH=$PATH:$HOME/.cargo/bin
# Set default-jdk as the active JDK
JDK_HOME=/usr/lib/jvm/java-11-openjdk-amd64
JAVA_HOME=$JDK_HOME
# ANTIGEN PLUGINS
# | Install wanted Antigen plugins if needed
antigen bundle git
antigen bundle pip
antigen bundle command-not-found
antigen bundle agkozak/zsh-z
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-autosuggestions
antigen apply
# ALIASES
# | Essentially, creature comforts for using the terminal
alias cat=bat
alias vim=nvim
alias vi=nvim
alias v=nvim
alias ls=exa
alias l=exa\ -al
export DOTNET_CLI_TELEMETRY_OUTPUT=1
# START STARSHIP
# | This starts the starship cross-shell prompt
eval "$(starship init zsh)"