Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Display files in Quick Look
- function ql () {
- (qlmanage -p "$@" > /dev/null 2>&1 &
- local ql_pid=$!
- read -sn 1
- kill ${ql_pid}) > /dev/null 2>&1
- }
- function qlt () {
- (qlmanage -p -c public.plain-text "$@" > /dev/null 2>&1 &
- local ql_pid=$!
- read -sn 1
- kill ${ql_pid}) > /dev/null 2>&1
- }
Add Comment
Please, Sign In to add comment