fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
a53db7256
master
1# localization: skip(private) 2# 3# Helper function for completions that need to enumerate block devices. 4function __fish_complete_blockdevice 5set -l cmd( commandline -ct) 6test -z " $cmd " 7and set cmd /dev/ 8for fin $cmd * 9test -b $f 10and printf "%s\t%s\n" $f "Block device" 11test -d $f 12and printf "%s\n" $f / 13end 14end