Okay bro I didn't mean to yap for that long. I meant to do some new stuff with tmux plugins, but I got carried away explaning everything for NO REASON!!! Now I can't even figure out how to get the nvim colorscheme to work, rip.

This commit is contained in:
ForeverPyrite
2025-09-04 23:48:57 -04:00
parent 32151368ef
commit dd5d08e99d
11 changed files with 534 additions and 168 deletions

View File

@@ -1,15 +1,12 @@
# ~/.config/fish/conf.d/aliases.fish
# ------------------------------------------------------------------------------
# Core "Rust-first" Command Replacements
# ------------------------------------------------------------------------------
# These override the standard Unix commands with our modern alternatives.
# Note: Fish syntax doesn't use '=' for aliases.
alias cat "bat --paging=never" # Use bat to view files
alias grep "rg" # Use ripgrep for searching
alias grep rg # Use ripgrep for searching
alias ls "eza --icons --group-directories-first" # The new default `ls`
alias find "fd" # fd-find. you're smart, you'll figure it out
alias find fd # fd-find. you're smart, you'll figure it out
# ------------------------------------------------------------------------------
# Enhanced `eza` Aliases
@@ -25,22 +22,25 @@ alias la "eza -a --icons --group-directories-first"
# lt: tree view
alias lt "eza --tree --level=2 --long --git --icons"
# tree: deadass replacing the tree command
alias tree "eza -T"
# ------------------------------------------------------------------------------
# Context-Aware Aliases (Docker)
# ------------------------------------------------------------------------------
# These aliases are only defined if the `docker` command is available.
if command -v docker &> /dev/null
if command -v docker &>/dev/null
# Simple aliases for docker-compose
alias dc "docker compose"
alias dcd "docker compose down"
alias dcb "docker compose build"
alias dcu "docker compose up -d"
alias dcl "docker compose logs -f"
# Your "full" command is better as a function for clarity
# You can put this in functions.fish or define it right here!
function dcf
echo "==> Running 'docker compose build'..."
docker compose build
echo "==> Running 'docker compose up -d'..."
docker compose up -d
echo "==> Tailing logs with 'docker compose logs -f'..."

View File

@@ -7,6 +7,8 @@ set -x EDITOR nvim
# --- PATH Configuration ---
# Add Cargo's bin directory to the path
fish_add_path "$HOME/.cargo/bin"
# Add the local user bin to path as well
fish_add_path "$HOME/.local/bin"
# --- Tool Initialization ---
# Starship Prompt
@@ -14,7 +16,7 @@ starship init fish | source
# Zoxide (replaces cd)
set -x FZF_DEFAULT_OPTS --tmux
zoxide init fish | source
zoxide init --cmd cd fish | source
# Autin (rip unencrypted .bash_history)
atuin init fish | source
@@ -26,12 +28,8 @@ if test -f "$HOME/.fzf.fish"
end
# --- ALIASES (The "Rust-first" way) ---
# Use 'alias' for simple command replacements.
# Note the syntax is 'alias new_command "old_command with args"'
# # Hopefully fixes the length errors in nvim
# set -gx XDG_CACHE_HOME "/tmp/.nv"
alias ls 'eza --icons --group-directories-first' # a more feature-rich ls
alias ll 'eza -l --icons --group-directories-first'
alias la 'eza -la --icons --group-directories-first'
alias cat 'bat --paging=never' # bat is a better cat
alias grep 'rg' # ripgrep is a better grep
# Should I go ahead and `tmux start-server` in here?

View File

@@ -1,6 +1,6 @@
# This file contains fish universal variable definitions.
# VERSION: 3.0
SETUVAR __fish_initialized:3800
SETUVAR __fish_initialized:3400
SETUVAR fish_color_autosuggestion:555\x1ebrblack
SETUVAR fish_color_cancel:\x2dr
SETUVAR fish_color_command:blue
@@ -29,4 +29,4 @@ SETUVAR fish_pager_color_description:B3A06D\x1eyellow\x1e\x2di
SETUVAR fish_pager_color_prefix:normal\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr
SETUVAR fish_user_paths:/home/foreverpyrite/\x2ecargo/bin\x1e/root/\x2ecargo/bin\x1e/root/\x2efzf/bin\x1e/home/foreverpyrite/\x2efzf/bin
SETUVAR fish_user_paths:/home/foreverpyrite/\x2elocal/bin\x1e/home/foreverpyrite/\x2ecargo/bin\x1e/root/\x2ecargo/bin\x1e/root/\x2efzf/bin\x1e/home/foreverpyrite/\x2efzf/bin