mirror of
https://github.com/wting/autojump
synced 2024-10-27 20:34:07 +00:00
Merge branch 'master' of github.com:joelthelion/autojump
This commit is contained in:
commit
563cc4ff0d
@ -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
make_release.sh
Executable file
18
make_release.sh
Executable 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…
Reference in New Issue
Block a user