mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-30 12:33:37 +08:00
9 lines
222 B
Fish
9 lines
222 B
Fish
# Quick Look a specified file
|
|
|
|
function ql -d "Quick Look a specified file"
|
|
if [ (count $argv) -gt 0 ]
|
|
qlmanage >/dev/null ^/dev/null -p Applications/ &
|
|
else
|
|
echo "No file or folder as argument given"
|
|
end
|
|
end |