-#Watch youtube videos in the terminal
-function ytview {
- if [ "$#" -ne "1" ]; then
- echo "usage $0 yturl"
- else
- get_flash_videos -q -f - $1 | cvlc -A alsa -V aa -
- fi
-}
-
-#Mount cloud file storage and start daemon if necessary
-if ! mountpoint -q ~/copy; then
- encfs ~/.copy.encr ~/copy
-fi
-if ! pidof CopyConsole >> /dev/null; then
- ~/bin/copy/x86_64/CopyConsole -daemon 2>&1 1>/dev/null
-fi