From ecccde63934c5ee6ed72a821249d1f5ab3891ff4 Mon Sep 17 00:00:00 2001 From: "1x:tier" Date: Sun, 3 Aug 2025 14:00:47 -0400 Subject: [PATCH] Edit --- .gitmodules | 3 +++ linux/.zshrc | 34 +++++++++++++--------------------- nackernvim | 1 + 3 files changed, 17 insertions(+), 21 deletions(-) create mode 100644 .gitmodules create mode 160000 nackernvim diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..680f597 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "nackernvim"] + path = nackernvim + url = git@github.com:1xtier/NackerNVIM.git diff --git a/linux/.zshrc b/linux/.zshrc index 8961062..4aafcc9 100644 --- a/linux/.zshrc +++ b/linux/.zshrc @@ -2,25 +2,16 @@ # export PATH=$HOME/bin:$HOME/.local/bin:/usr/local/bin:$PATH # Path to your Oh My Zsh installation. +# Export Variables export ZSH="$HOME/.oh-my-zsh" -export PATH=$PATH:/usr/local/go/bin -# Set name of the theme to load --- if set to "random", it will -# load a random theme each time Oh My Zsh is loaded, in which case, -# to know which specific one was loaded, run: echo $RANDOM_THEME -# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes +export PATH=$PATH:/usr/local/go/bin:$HOME/.dotfiles/sh:$HOME/.local/bin +export EDITOR=nvim +# Theme ZSH_THEME="crunch" - -# Set list of themes to pick from when loading at random -# Setting this variable when ZSH_THEME=random will cause zsh to load -# Custom plugins may be added to $ZSH_CUSTOM/plugins/ -# Example format: plugins=(rails git textmate ruby lighthouse) -# Add wisely, as too many plugins slow down shell startup. +# Connect Plugin plugins=(git taskwarrior) source $ZSH/oh-my-zsh.sh - -# User configuration - # export MANPATH="/usr/local/man:$MANPATH" # You may need to manually set your language environment @@ -30,13 +21,14 @@ if [[ -n $SSH_CONNECTION ]]; then else ZSH_THEME="agnoster" fi -# Preferred editor for local and remote sessions -# if [[ -n $SSH_CONNECTION ]]; then -# export EDITOR='vim' -# else -# export EDITOR='nvim' -# fiш -# Overriding the cat package with bat and configuring it + +if [[ -n $SSH_CONNECTION ]]; then + export EDITOR='vim' +else + export EDITOR='nvim' +fi + +# User configuration if [[ -e $(which batcat) ]]; then export bat="batcat" alias bat="batcat" diff --git a/nackernvim b/nackernvim new file mode 160000 index 0000000..cdde011 --- /dev/null +++ b/nackernvim @@ -0,0 +1 @@ +Subproject commit cdde0115f7fdfe68cfaef960918c273dbfb39ff9