You are not logged in.

#1 2013-05-23 13:06:38

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Looking for a program to set reminders in .zshrc

Hi, does anyone know of a tool that can set reminders which will pop up and your next shell login?
So for example:

jason@jason-laptop ~ % remind "check email"

then logout/close

then when I log back in:

check email
jason@jason-laptop ~ %

Editing my .zshrc file every time is not really worth it...


bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

#2 2013-05-23 13:09:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,423

Re: Looking for a program to set reminders in .zshrc

Offline

#3 2013-05-23 13:20:47

jakobcreutzfeldt
Member
Registered: 2011-05-12
Posts: 1,031

Re: Looking for a program to set reminders in .zshrc

remind:

#!/bin/sh

echo "$1" >> /home/me/reminders.txt

.zshrc/.bashrc:

...
cat /home/me/reminders.txt
...

I don't think anything would have to be changed between bash and zsh in this case.

Last edited by jakobcreutzfeldt (2013-05-23 13:28:39)

Offline

#4 2013-05-23 15:22:26

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Re: Looking for a program to set reminders in .zshrc

jakobcreutzfeldt wrote:

remind:

#!/bin/sh

echo "$1" >> /home/me/reminders.txt

.zshrc/.bashrc:

...
cat /home/me/reminders.txt
...

I don't think anything would have to be changed between bash and zsh in this case.

This is cool, and I can make it clear the file afterwards too, thanks


bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

#5 2013-05-23 15:38:38

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 12,281

Re: Looking for a program to set reminders in .zshrc

Former TU itsbrad212 had a real nice utility:  https://bbs.archlinux.org/viewtopic.php?id=116003

I wonder how he is doing.  He always impressed me.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
----
How to Ask Questions the Smart Way

Online

Board footer

Powered by FluxBB