commit f06c69eb2dac2ee0039dd571cee67e4606a20876 Author: Alex Huddleston Date: Sat May 16 15:20:41 2020 -0500 Initial commit. diff --git a/ssh/ssh-config b/ssh/ssh-config new file mode 100644 index 0000000..8f7b97d --- /dev/null +++ b/ssh/ssh-config @@ -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 diff --git a/zsh/zshrc b/zsh/zshrc new file mode 100644 index 0000000..107c7c3 --- /dev/null +++ b/zsh/zshrc @@ -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)"