refactoring and minor updates

This commit is contained in:
Matt Nish-Lapidus 2025-03-22 10:57:26 -04:00
parent 83f072dac2
commit 14ff6a7a25
7 changed files with 43 additions and 27 deletions

View file

@ -0,0 +1,6 @@
#!/usr/bin/env fish
function git-fake --description 'add file to repo without actually adding it (for nix flake needs)'
git add --intent-to-add $argv
git update-index --skip-worktree --assume-unchanged $argv
end

View file

@ -1,3 +1,3 @@
function lla --wraps='eza -la' --description 'alias lla eza -la'
eza -la $argv
function lla --wraps='ls' --description 'alias lla eza -la'
ls -la $argv
end

View file

@ -1,7 +1,3 @@
function ls --wraps=eza --description 'eza instead of ls'
if type --quiet eza
eza --git --header --icons $argv
else
command ls --color=auto $argv
end
eza --git --header --icons $argv
end