What are DOT-files?

Can I use shell command in .irssi/config?

  • I'd like to remove my Freenode password from my config file and insert it via Awk instead.  Is this possible? I currently have a line that automatically logs me in like so: autosendcmd = "/msg nickserv identify MY_PASSWORD;wait 2000"; If possible I'd like to embed shell commands to dynamically pull in my password from a text file something like: /msg nickserv indentify `awk '/GithubToken/ {print $2}' ~/dotfiles/.sec/secret.tmp` I could encrypt / decrypt this passwords text file with gpg.

  • Answer:

    you can use irssi's /exec command to execute gpg and then print the result to be executed as an irssi command (in this case a PRIVMSG to nickserv)

Tanami Browne at Quora Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.