mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-28 20:34:07 +08:00
5 lines
156 B
Fish
5 lines
156 B
Fish
|
function __fish_print_mounted --description 'Print mounted devices'
|
||
|
cat /etc/mtab | cut -d " " -f 1-2|tr " " \n|sed -e "s/[0-9\.]*:\//\//"|sgrep "^/"
|
||
|
|
||
|
end
|