Updated docs from master

This commit is contained in:
Manuel Ebert 2014-06-24 18:43:14 +02:00
parent ce0a042bf7
commit d433897163
21 changed files with 8 additions and 8 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -69,7 +69,7 @@
<div class="col"> <div class="col">
<i class="icon github"></i> <i class="icon github"></i>
<h3>Free &amp; Open Source.</h3> <h3>Free &amp; Open Source.</h3>
<p>jrnl is made by by a bunch of really nice and remarkably attractive people. Maybe even <a href="https://www.github.com/maebert/jrnl" title="Fork jrnl on GitHub">you</a>?</p> <p>jrnl is made by a bunch of really friendly and remarkably attractive people. Maybe even <a href="https://www.github.com/maebert/jrnl" title="Fork jrnl on GitHub">you</a>?</p>
</div> </div>
<div class="col"> <div class="col">
<i class="icon folders"></i> <i class="icon folders"></i>

Binary file not shown.

File diff suppressed because one or more lines are too long

View file

@ -67,7 +67,7 @@
<div class="col"> <div class="col">
<i class="icon github"></i> <i class="icon github"></i>
<h3>Free &amp; Open Source.</h3> <h3>Free &amp; Open Source.</h3>
<p>jrnl is made by by a bunch of really nice and remarkably attractive people. Maybe even <a href="https://www.github.com/maebert/jrnl" title="Fork jrnl on GitHub">you</a>?</p> <p>jrnl is made by a bunch of really friendly and remarkably attractive people. Maybe even <a href="https://www.github.com/maebert/jrnl" title="Fork jrnl on GitHub">you</a>?</p>
</div> </div>
<div class="col"> <div class="col">
<i class="icon folders"></i> <i class="icon folders"></i>

View file

@ -69,7 +69,7 @@
<div class="col"> <div class="col">
<i class="icon github"></i> <i class="icon github"></i>
<h3>Free &amp; Open Source.</h3> <h3>Free &amp; Open Source.</h3>
<p>jrnl is made by a bunch of really nice and remarkably attractive people. Maybe even <a href="https://www.github.com/maebert/jrnl" title="Fork jrnl on GitHub">you</a>?</p> <p>jrnl is made by a bunch of really friendly and remarkably attractive people. Maybe even <a href="https://www.github.com/maebert/jrnl" title="Fork jrnl on GitHub">you</a>?</p>
</div> </div>
<div class="col"> <div class="col">
<i class="icon folders"></i> <i class="icon folders"></i>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -155,7 +155,7 @@ def run(manual_args=None):
config.update(journal_conf) config.update(journal_conf)
else: # But also just give them a string to point to the journal file else: # But also just give them a string to point to the journal file
config['journal'] = journal_conf config['journal'] = journal_conf
config['journal'] = os.path.expanduser(config['journal']) config['journal'] = os.path.expanduser(os.path.expandvars(config['journal']))
touch_journal(config['journal']) touch_journal(config['journal'])
mode_compose, mode_export = guess_mode(args, config) mode_compose, mode_export = guess_mode(args, config)

Binary file not shown.

Binary file not shown.

View file

@ -54,7 +54,7 @@ def save_config(config=default_config, config_path=os.path.expanduser("~/.jrnl_c
def install_jrnl(config_path='~/.jrnl_config'): def install_jrnl(config_path='~/.jrnl_config'):
def autocomplete(text, state): def autocomplete(text, state):
expansions = glob.glob(os.path.expanduser(text)+'*') expansions = glob.glob(os.path.expanduser(os.path.expandvars(text))+'*')
expansions = [e+"/" if os.path.isdir(e) else e for e in expansions] expansions = [e+"/" if os.path.isdir(e) else e for e in expansions]
expansions.append(None) expansions.append(None)
return expansions[state] return expansions[state]
@ -65,7 +65,7 @@ def install_jrnl(config_path='~/.jrnl_config'):
# Where to create the journal? # Where to create the journal?
path_query = 'Path to your journal file (leave blank for ~/journal.txt): ' path_query = 'Path to your journal file (leave blank for ~/journal.txt): '
journal_path = util.py23_input(path_query).strip() or os.path.expanduser('~/journal.txt') journal_path = util.py23_input(path_query).strip() or os.path.expanduser('~/journal.txt')
default_config['journals']['default'] = os.path.expanduser(journal_path) default_config['journals']['default'] = os.path.expanduser(os.path.expandvars(journal_path))
# Encrypt it? # Encrypt it?
if module_exists("Crypto"): if module_exists("Crypto"):

Binary file not shown.

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long