mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-30 12:33:37 +08:00
14 lines
277 B
Fish
14 lines
277 B
Fish
# Quick Look a specified file
|
|
|
|
function ql
|
|
if count $argv >/dev/null
|
|
switch $argv[1]
|
|
case -d --description
|
|
echo "Quick Look a specified file"
|
|
return 0
|
|
end
|
|
end
|
|
if count $argv > 0
|
|
qlmanage >/dev/null ^/dev/null -p Applications/ &
|
|
end
|
|
end |