Skip to content

Instantly share code, notes, and snippets.

@dontdieych
Created May 6, 2025 12:57
Show Gist options
  • Save dontdieych/f6e492849a603b7d89a9fddf9e85f25e to your computer and use it in GitHub Desktop.
Save dontdieych/f6e492849a603b7d89a9fddf9e85f25e to your computer and use it in GitHub Desktop.
eza --hyperlink needs auto or never option
╭─ ~/Videos/Youtube ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 21:51:29
╰─❯ l 30\ years\ of\ authentic\ New\ Jack\ Swing\ style\ \[j_ZpMQ0WCEw\].webm
'30 years of authentic New Jack Swing style [j_ZpMQ0WCEw].webm'*
╭─ ~/Videos/Youtube ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 21:51:41
╰─❯ l 30\ years\ of\ authentic\ New\ Jack\ Swing\ style\ \[j_ZpMQ0WCEw\].webm > /tmp/t.m3u8
╭─ ~/Videos/Youtube ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 21:51:57
╰─❯ cat /tmp/t.m3u8
'30 years of authentic New Jack Swing style [j_ZpMQ0WCEw].webm'
╭─ ~/Videos/Youtube ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 21:52:01
╰─❯ cat /tmp/t.m3u8 -A
^[]8;;file:///home/a/Videos/Youtube/30 years of authentic New Jack Swing style [j_ZpMQ0WCEw].webm^[\'30 years of authentic New Jack Swing style [j_ZpMQ0WCEw].webm'^[]8;;^[\$
╭─ ~/Videos/Youtube ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 21:52:05
╰─❯ mpv /tmp/t.m3u8
Failed to recognize file format.
Exiting... (Errors when loading file)
╭─ ~/Videos/Youtube ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✘ 2 21:52:45
╰─❯ type l
l is a function with definition
# Defined in /home/a/.config/fish/functions/l.fish @ line 1
function l --wraps=ls --wraps='ls -1' --description 'alias l=ls -1'
ls -1 $argv
end
╭─ ~/Videos/Youtube ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 21:53:20
╰─❯ type ls
ls is a function with definition
# Defined in /home/a/.config/fish/functions/ls.fish @ line 1
function ls --wraps=eza --wraps='eza --sort newest -1 -F' --wraps='eza --sort newest -F' --wraps='eza --sort newest -F -g' --description 'alias ls=eza --sort newest -F -g'
eza --hyperlink --sort newest -F -g $argv
end
╭─ ~/Videos/Youtube ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── 21:53:25
╰─❯
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment