feat(fish): new functions

This commit is contained in:
Sergio Laín 2025-02-27 14:30:25 +01:00
parent ea70e90f9e
commit d6b5ac0b58
No known key found for this signature in database
GPG key ID: 51BB28D8B42FB438
2 changed files with 10 additions and 0 deletions

View file

@ -0,0 +1,3 @@
function gr --wraps='cd "$(git rev-parse --show-toplevel)"' --description 'alias gr=cd "$(git rev-parse --show-toplevel)"'
cd "$(git rev-parse --show-toplevel)" $argv
end

View file

@ -0,0 +1,7 @@
function lm --wraps='eza --long --header -a --icons --git --group-directories-first' --description 'alias l=eza --long --header -a --icons --git --group-directories-first'
if type -f eza &>/dev/null
eza --long --header -a --icons --git --hyperlink -s modified $argv
else
missing_package eza
end
end