tbsm
end
+# support jumping between prompts with foot terminal
+function mark_prompt_start --on-event fish_prompt
+ echo -en "\e]133;A\e\\"
+end
+
+# enable pipe-command-output with foot terminal
+function foot_cmd_start --on-event fish_preexec
+ echo -en "\e]133;C\e\\"
+end
+
+function foot_cmd_end --on-event fish_postexec
+ echo -en "\e]133;D\e\\"
+end
+
function ls --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=13 eza -w 155 --group-directories-first --icons $argv
case /dev/pts/**
- EZA_GRID_ROWS=26 eza -w 55 --group --group-directories-first --icons $argv
+ EZA_GRID_ROWS=26 eza -w 155 --group-directories-first --icons $argv
end
end
-function lsblk --description 'alias lsblk=lsblk -o name,size,partuuid,fstype,mountpoints,label'
+function lsblk --description 'alias lsblk=lsblk -o name,size,uuid,fstype,mountpoints,label'
command lsblk -o name,size,partuuid,fstype,mountpoints,label $argv
end
+
--- /dev/null
+function lsblkp --description 'alias lsblkp=lsblk -o name,size,partuuid,fstype,mountpoints,label'
+ command lsblk -o name,size,partuuid,fstype,mountpoints,label $argv
+
+end
+