zsh

  1. Sueno1123

    Custom autocomplete in BASH/ZSH functions

    I have written a script, and I need the tab autocomplete in my shell to only select files of a certain type (mp4, mkv, avi), just like rmdir's autocomplete only selects directories. Here's my (inelegant) script: #!/bin/bash [ -z "$1" ] && return command mpv "$1" || exit fd -q donefile && exit...
  2. S

    Could someone help me understand this command behavior?

    So, to explain the problem, I have about a hundred or so .tsv (tab separated values) files that are being used to store information on vendors for certain client accounts. I am trying to parse these files in order to generate a pipe delimited string of each of the individual columns for an...
Top