1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00
Commit Graph

67 Commits

Author SHA1 Message Date
William Ting
626946bccc Set default installation to auto if only --force flag is passed. 2012-11-22 16:06:24 -06:00
William Ting
de0957ba18 Modify add message. 2012-11-22 16:06:24 -06:00
William Ting
9b6fad8556 Immediately quits installation if "Permission denied" error encountered. 2012-11-22 16:06:24 -06:00
William Ting
b9903f1269 Modify add message. 2012-11-22 16:06:24 -06:00
William Ting
b512aec9bf Remove --bash and --zsh options, always install both versions.
A few KB of disk space is not worth the logic overhead.
2012-11-22 16:06:24 -06:00
William Ting
987ead6814 Rename -P / --show_path to -n / --dry_run.
Done for consistency with other Linux programs (e.g. rsync, rename).
2012-11-22 16:06:24 -06:00
William Ting
904066373b Set default install to --auto when no arguments passed. 2012-11-22 16:06:24 -06:00
jjacky
a84062b42b Fix install.sh script to support destdir
The install script didn't support the use of a destination directory, which can
be pretty useful e.g. to create packages.
2012-11-22 16:06:24 -06:00
William Ting
f46b541105 remove adding git version to autojump install 2012-11-01 04:25:42 -05:00
muratayusuke
7b4a54ccc1 set permission 0755 to _j in install.sh 2012-10-30 21:22:27 -05:00
Daniel Hahler
4382116b55 Vendorize argparse
This adds the argparse library [1] as autojump_argparse and imports it
via sys.path mangling in case argparse does not exist (Python 2.6 or
below without argparse installed).

This makes autojump effectively work with Python 2.6 again by default.

I have not verified license compatibility, but given the intention of
the (backport) project this is likely OK (it is licensed under the
Python license).

1: http://code.google.com/p/argparse/

Fixes issue #121.
2012-09-26 22:04:45 +02:00
William Ting
3f78b56bc7 Remove unnecessary code from install.sh.
In the past the installer would modify the user's ~/.bashrc and thus needed to
find the current user's name and home directory. However, the installer no
longer modifies user's ~/.bashrc and getent also outputs error messages for
Cygwin users.
2012-05-27 09:18:54 -10:00
William Ting
da3d660b50 Remove license from individual files, consolidate information into AUTHORS and LICENSE 2012-05-06 12:56:01 -10:00
William Ting
168865f138 fix install.sh to reflect new locations, tweak documentation where necessary 2012-04-17 13:40:53 -10:00
William Ting
8decc17f3e Update documentation and install scripts to reflect new minimum Python requirements.
Documentation and install scripts now instruct older Python users to upgrade
their Python version or install older versions of autojump.

'install.sh' now gets a -f|--force option, which makes the install ignore
Python dependency requirements.
2012-04-11 23:03:03 -10:00
William Ting
2cfd91bf72 Modify documentation to notify that minimum Python version is 2.7 instead of
2.6.

This was caused by the rewrite to use argparse over optparse to handle command
line arguments.
2012-04-11 19:44:18 -10:00
William Ting
0be45062c3 Merge branch 'master' into smarter_install 2012-03-19 12:17:54 -10:00
William Ting
2a3fbd4687 change default line to add to .bashrc/.zshrc message 2012-03-15 11:00:43 -10:00
William Ting
d4e5895edf add default installation location depending on user id (globally for root, otherwise local) 2012-03-15 10:52:25 -10:00
William Ting
bbe54c3b22 install type is determined by /bin/zsh env var 2012-03-15 10:16:33 -10:00
William Ting
2c66d59f2a redirect older Python users to install v12 2012-02-10 11:06:24 -10:00
William Ting
2d502a00cf check python version during install and warn if incompatible 2012-02-09 09:24:46 -10:00
William Ting
80c681c07f add dynamic fpath for zsh installations back 2012-02-08 12:21:24 -10:00
William Ting
fe548ef486 minor documentation fix 2012-02-08 10:51:02 -10:00
William Ting
ca162ff5ed minor redundancy edit 2012-02-08 10:11:47 -10:00
William Ting
e4b555dd1d minor formatting change 2012-02-08 10:04:41 -10:00
William Ting
2718a056df fix install help msg, clean up uninstall.sh 2012-02-08 10:03:05 -10:00
William Ting
02262b9089 hardcoded _j copy to distro default function location for global zsh installs 2012-02-08 09:55:36 -10:00
William Ting
b4c6dcc419 merged installations 2012-02-08 09:22:39 -10:00
William Ting
185118addb replace missing die function 2012-02-07 23:32:30 -10:00
William Ting
770b80bfe4 fix install.sh test construct, simplified install.sh, minor formatting changes 2012-02-07 16:21:37 -10:00
William Ting
aad0521755 change test constructs for bash installation 2012-02-07 15:52:15 -10:00
William Ting
4da9d3ef75 bash local installation finished 2012-02-07 15:40:57 -10:00
Joël Schaerer
d1712dd757 merge bmc's "settable profile.d" patch 2012-02-07 06:56:46 +01:00
Joël Schaerer
f64b990d6a cleanup 2011-11-30 10:24:25 +01:00
Jesse Sanford
2832519a99 added in getent compatible dscl call for macos 2011-11-29 13:37:43 -05:00
Joël Schaerer
79f2b29de5 fix installer to make it sudoless 2011-09-27 16:07:37 +02:00
Joël Schaerer
4e3d55f9d0 Merge remote-tracking branch 'xiaonaitong/master' into windows 2011-09-27 15:42:55 +02:00
xiaonaitong
f530236e23 remove sudo in install.sh 2011-09-21 19:14:41 +08:00
xiaonaitong
07e5767952 missing $SUDO when copy files to /etc/profile.d 2011-09-20 08:51:52 -06:00
xiaonaitong
b39c84ec86 sudo is needed in non-windows system 2011-09-20 09:56:28 +08:00
Johnny Kuan
f75b11d143 fix typo in installers 2011-09-15 23:35:20 -07:00
Johnny Kuan
12bf584088 change version to git revision when installing 2011-09-15 23:21:35 -07:00
xiaonaitong
a6410994c2 quick fix so thant it works on mingw and bash 3.1 2011-09-14 13:56:30 +08:00
Joel Schaerer
00ce1696a7 try to fix OS X install 2011-08-28 10:10:54 +02:00
Brandon Tilley
f1492bbe80 Make install.sh check for sourcing of .bashrc 2011-06-17 21:30:31 -07:00
William Ting
34419c3eae fixed regex matching vs existing source /etc/profile line in .bashrc 2011-04-25 18:31:28 +08:00
Joel Schaerer
9734cfa736 use your actual shell instead of the one in /usr/bin
This should solve
http://github.com/joelthelion/autojump/issues/#issue/34
2011-01-05 20:05:36 +01:00
Joel Schaerer
edec6a140f create some directories if they don't exist 2010-10-01 16:49:18 +02:00
Joël Schaerer
de9270bb99 tell the user he needs to source his *rc before he can start using autojump 2010-08-31 15:40:32 +02:00