mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-12-12 21:43:45 +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 |