]> Freerunner's - dotfiles.git/commitdiff
bash/fish: tweak eza aliases
authorAndre Ramnitz <tux.rising@gmail.com>
Tue, 11 Jun 2024 05:02:23 +0000 (07:02 +0200)
committerAndre Ramnitz <tux.rising@gmail.com>
Sun, 18 Aug 2024 19:05:38 +0000 (21:05 +0200)
config/fish/functions/eza-aliases.fish
home/dot-bashrc

index bb813b437d1bd76adf821afe101c463907ad8f7d..671677dade6536197d5ce46bad79b046dde1df4e 100644 (file)
@@ -4,43 +4,43 @@ function l1 --wraps='eza' --description='alias eza'
         case /dev/tty**
             EZA_GRID_ROWS=13 eza -w 220 --group --group-directories-first -1 $argv
         case /dev/pts/**
-            EZA_GRID_ROWS=13 eza -w 0 --group --group-directories-first -1 $argv
+            EZA_GRID_ROWS=26 eza -w 0 --group --group-directories-first -1 $argv
     end
 end
 
-function la --wraps='eza' --description='alias eza'
+function ls --wraps='eza' --description='alias eza'
     switch $(tty)
         case /dev/tty**
-            EZA_GRID_ROWS=13 eza -w 220 --group --long --grid --group-directories-first -l -a $argv
+            EZA_GRID_ROWS=13 eza -w 220 --group --group-directories-first --icons $argv
         case /dev/pts/**
-            EZA_GRID_ROWS=13 eza -w 0 --group --long --grid --group-directories-first -l -a $argv
+            EZA_GRID_ROWS=26 eza -w 55 --group --group-directories-first --icons $argv
     end
 end
 
-function lg --wraps='eza' --description='alias eza'
+function la --wraps='eza' --description='alias eza'
     switch $(tty)
         case /dev/tty**
-            EZA_GRID_ROWS=13 eza -w 220 --group --long --grid --group-directories-first $argv
+            EZA_GRID_ROWS=13 eza -w 220 --group --group-directories-first --icons -l -a $argv
         case /dev/pts/**
-            EZA_GRID_ROWS=13 eza -w 0 --group --long --grid --group-directories-first $argv
+            EZA_GRID_ROWS=26 eza -w 55 --group --group-directories-first --icons -l -a $argv
     end
 end
 
-function ll --wraps='eza' --description='alias eza'
+function lg --wraps='eza' --description='alias eza'
     switch $(tty)
         case /dev/tty**
-            EZA_GRID_ROWS=26 eza -w 220 --group --long --group-directories-first $argv
+            EZA_GRID_ROWS=13 eza -w 220 --group --long --grid --group-directories-first $argv
         case /dev/pts/**
-            EZA_GRID_ROWS=26 eza -w 0 --group --long --group-directories-first $argv
+            EZA_GRID_ROWS=26 eza -w 0 --group --long --grid --group-directories-first $argv
     end
 end
 
-function ls --wraps='eza' --description='alias eza'
+function ll --wraps='eza' --description='alias eza'
     switch $(tty)
         case /dev/tty**
-            EZA_GRID_ROWS=13 eza -w 220 --group --group-directories-first --icons $argv
+            EZA_GRID_ROWS=26 eza -w 220 --group --group-directories-first --icons -l $argv
         case /dev/pts/**
-            EZA_GRID_ROWS=13 eza -w 0 --group --group-directories-first --icons $argv
+            EZA_GRID_ROWS=26 eza -w 55 --group --group-directories-first --icons -l $argv
     end
 end
 
@@ -49,6 +49,6 @@ function lt --wraps='eza' --description='alias eza'
         case /dev/tty**
             EZA_GRID_ROWS=13 eza -w 220 --group --long --grid --group-directories-first --sort=mod -t=mod --time-style=long-iso $argv
         case /dev/pts/**
-            EZA_GRID_ROWS=13 eza -w 0 --group --long --grid --group-directories-first --sort=mod -t=mod --time-style=long-iso $argv
+            EZA_GRID_ROWS=26 eza -w 0 --group --long --grid --group-directories-first --sort=mod -t=mod --time-style=long-iso $argv
     end
 end
index f1e9fc428cc17091eae0ef237a4c55538c7f654e..603a05b4c3f42c9cd3a5dde49f87615cd8b8cdca 100644 (file)
@@ -36,19 +36,19 @@ alias  lf='lfrun'
 case $(tty) in
     /dev/tty[0-9]*)
         alias  l1='EZA_GRID_ROWS=13 eza -w 220 --group --group-directories-first -1'
-        alias  la='EZA_GRID_ROWS=13 eza -w 220 --group --long --grid --group-directories-first -l -a'
-        alias  lg='EZA_GRID_ROWS=13 eza -w 220 --group --icons --long --sort=size -t=mod --time-style=iso --group-directories-first'
-        alias  ll='EZA_GRID_ROWS=13 eza -w 220 --group --long --group-directories-first'
+        alias  la='EZA_GRID_ROWS=13 eza -w 220 --group --group-directories-first --icons -l -a'
+        alias  lg='EZA_GRID_ROWS=13 eza -w 220 --group --long --grid --group-directories-first'
+        alias  ll='EZA_GRID_ROWS=26 eza -w 220 --group --group-directories-first --icons -l'
         alias  ls='EZA_GRID_ROWS=13 eza -w 220 --group --group-directories-first --icons'
-        alias  lt='EZA_GRID_ROWS=13 eza -w 220 --group --long --group-directories-first --sort=mod -t=mod --time-style=long-iso'
+        alias  lt='EZA_GRID_ROWS=13 eza -w 220 --group --long --grid --group-directories-first --sort=mod -t=mod --time-style=long-iso'
         echo tty ;;
     /dev/pts/[0-9]*)
         alias  l1='EZA_GRID_ROWS=26 eza -w 0 --group --group-directories-first -1'
-        alias  la='EZA_GRID_ROWS=26 eza -w 0 --group --long --grid --group-directories-first -l -a'
-        alias  lg='EZA_GRID_ROWS=26 eza -w 0 --group --icons --long --sort=size -t=mod --time-style=iso --group-directories-first'
-        alias  ll='EZA_GRID_ROWS=26 eza -w 0 --group --long --group-directories-first'
-        alias  ls='EZA_GRID_ROWS=26 eza -w 0 --group --group-directories-first --icons'
-        alias  lt='EZA_GRID_ROWS=26 eza -w 0 --group --long --group-directories-first --sort=mod -t=mod --time-style=long-iso'
+        alias  la='EZA_GRID_ROWS=26 eza -w 55 --group --group-directories-first --icons -l -a'
+        alias  lg='EZA_GRID_ROWS=26 eza -w 0 --group --long --grid --group-directories-first'
+        alias  ll='EZA_GRID_ROWS=26 eza -w 55 --group --group-directories-first --icons -l'
+        alias  ls='EZA_GRID_ROWS=26 eza -w 55 --group --group-directories-first --icons'
+        alias  lt='EZA_GRID_ROWS=26 eza -w 0 --group --long --grid --group-directories-first --sort=mod -t=mod --time-style=long-iso'
         echo pts ;;
 esac