Browse Source

Merge branch 'master' of github.com:joelthelion/autojump

pull/18/head
Joel Schaerer 14 years ago
parent
commit
563cc4ff0d
2 changed files with 19 additions and 1 deletions
  1. +1
    -1
      README.rst
  2. +18
    -0
      make_release.sh

+ 1
- 1
README.rst View File

@ -8,7 +8,7 @@ A ``cd`` command that learns
One of the most used shell commands is ``cd``. A quick survey among my friends revealed that between 10 and 20% of all commands they type are actually ``cd`` commands! Unfortunately, jumping from one part of your system to another with ``cd`` requires to enter almost the full path, which isn't very practical and requires a lot of keystrokes.
autojump is a faster way to navigate your filesystem. It works by maintaining a database of the directories you use the most from the command line. The jumpstat command shows you the current contents of the database. You need to work a little bit before the database becomes usable. Autojump will listen and rank your 'cd' commands by frequency. Once your database is reasonably complete, you can "jump" to a commonly "cd"ed directory by typing:
autojump is a faster way to navigate your filesystem. It works by maintaining a database of the directories you use the most from the command line. The jumpstat command shows you the current contents of the database. You need to work a little bit before the database becomes usable. Once your database is reasonably complete, you can "jump" to a commonly "cd"ed directory by typing:
j dirspec

+ 18
- 0
make_release.sh View File

@ -0,0 +1,18 @@
#!/bin/bash
if [ $# -ne 1 ]
then
echo "Usage: `basename $0` release"
echo "where release is of the form v11, v12, ..."
exit 1
fi
version=$1
#check for tag existence
git describe release-$1 2>&1 >/dev/null ||
{
echo "Invalid version $1"
exit 1
}
git archive --format=tar --prefix autojump_${version}/ release-${version} | gzip > autojump_${version}.tar.gz

Loading…
Cancel
Save