dotwryn/zsh/google

14 lines
276 B
Plaintext
Raw Normal View History

2020-11-04 19:57:36 +00:00
#!/bin/zsh
alias gdrive="RCLONE_GOOGLE_DRIVE_MOUNT"
RCLONE_GOOGLE_DRIVE_MOUNT() {
local RCLONE_REMOTE_NAME='google-drive';
clear;
figlet GOOGLE DRIVE CONNECTION | lolcat;
echo -e "\e[3m(C-c to close)\e[0m";
rclone mount "$RCLONE_REMOTE_NAME:$1" "$HOME/GoogleDrive"
}