Commit Graph

12 Commits

Author SHA1 Message Date
Daniel Perez
1589a03678 Merge pull request #53 from ctreatma/feature/only_pwd
Fix #52: Send any `cd` output to /dev/null
2016-07-02 13:56:41 +09:00
Charles Treatman
1d11a73600 Redirect all output to /dev/null, not just stdout 2016-07-01 19:40:05 -04:00
David Bernheisel
29807fd154 zsh: remove _asdf completion. #68 2016-06-29 16:06:33 -04:00
Teja Sophista V.R
a2844400f4 use bashcompinit instead of compinit for ZSH 2016-06-27 11:14:12 +07:00
Charles Treatman
5e9b1cca77 Fix #52: Send any cd output to /dev/null
Users of `zsh` can define hook functions that execute when
the current directory changes.  If a user has their `zsh`
configured with a hook function that writes to stdout, the
`asdf` setup script will capture that output in addition to
the output of `pwd`, which causes a misconfiguration of the
`PATH` environment variable.

By redirecting the output, if any, of the `cd` command to
`/dev/null`, this ensures that the path to `bin` in `asdf`
is captured correctly regardless of `zsh` configuration.
2016-05-10 15:04:18 -04:00
Justin
7476c02f0a Adds (very) basic zsh autocompletion 2015-12-05 11:14:37 +01:00
Akash Manohar J
32c5c1a858 Check if source or dot operator is used 2015-06-17 06:14:27 +05:30
Akash Manohar J
237a5ab59e Fix #1: Better to stick to a single common shell
Referred a couple other version managers. The advantage is not having to
maintain the scripts for other shells (bash comes by default everywhere
I've seen).
2015-05-19 10:44:10 +05:30
Akash Manohar J
e80ec0cfbf Fix sourced usage 2015-05-14 12:21:01 +05:30
Akash Manohar J
f15a761c4a init script 2015-05-10 22:18:03 +05:30
Akash Manohar J
0ff759a9be Dir structure 2014-09-30 05:23:59 +05:30
Akash Manohar J
da8b5840be Stubbed out functions 2014-09-29 22:21:09 +05:30