rp

simple email tools
git clone https://git.parazyd.org/rp
Log | Files | Refs | README | LICENSE

rppeek (313B)


      1 #!/bin/sh
      2 #
      3 # Copy me if you can
      4 # by parazyd
      5 #
      6 
      7 profile="${RPPROFILE:-$HOME/.rp/default}"
      8 
      9 usage() {
     10 	echo "* Usage: $(basename $0) [folder]"
     11 	exit 1
     12 }
     13 
     14 for i in "$@"; do
     15 	case "$i" in
     16 		-*)
     17 			usage
     18 			;;
     19 		*)
     20 			folder="-f =${i}"
     21 			echo "* Opening '$i'"
     22 			;;
     23 	esac
     24 done
     25 
     26 neomutt -F "$profile"/muttrc $folder