Skip to content

Commit

Permalink
refactor(shell_utils): amend ls utils
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Rudenko committed Oct 23, 2024
1 parent 71dd2a0 commit d6b26ef
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 3 deletions.
2 changes: 1 addition & 1 deletion roles/shell_utils/files/fish_functions/lg.fish
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
function lg --wraps eza
eza --classify --icons --all --long --header --tree --git-ignore --level 3 $argv
eza --classify --icons --all --long --header --tree --git-ignore --level 2 $argv
end
20 changes: 20 additions & 0 deletions roles/shell_utils/files/fish_functions/lll.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
function lll --wraps eza
eza \
--classify \
--icons \
--all \
--header \
--long \
--binary \
--group \
--smart-group \
--links \
--inode \
--modified \
--created \
--accessed \
--time-style "relative" \
--flags \
--blocksize \
$argv
end
21 changes: 21 additions & 0 deletions roles/shell_utils/files/fish_functions/llls.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
function lll --wraps eza
eza \
--classify \
--icons \
--all \
--header \
--long \
--binary \
--group \
--smart-group \
--links \
--inode \
--modified \
--created \
--accessed \
--time-style "relative" \
--flags \
--blocksize \
--total-size \
$argv
end
3 changes: 3 additions & 0 deletions roles/shell_utils/files/fish_functions/lls.fish
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
function lls --wraps eza
eza --classify --icons --all --long --header --tree --total-size --level 1 $argv
end
2 changes: 1 addition & 1 deletion roles/shell_utils/files/fish_functions/ls.fish
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
function ls --wraps eza
eza --classify --icons $argv
eza --classify --icons --all $argv
end
2 changes: 1 addition & 1 deletion roles/shell_utils/files/fish_functions/lt.fish
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
function lt --wraps eza
eza --classify --icons --all --long --header --tree --level 3 $argv
eza --classify --icons --all --long --header --tree --level 2 $argv
end

0 comments on commit d6b26ef

Please sign in to comment.