Commit Graph

7 Commits (918ccd25d6b37c17157d749ceebdc13ee9da0e3d)

Author SHA1 Message Date
Tomas Slusny 5c69d79810 Recognize fasd when sourced
According to fasd README, fasd can be also used by sourcing it and not only by including it into path. This patch will ensure that fasd will be properly recognized, even when it is sourced and not included in path.
2016-09-07 10:17:40 +02:00
Nils Winkler dd218b5113 Added empty check for PROMPT_COMMAND in fasd plugin
This should fix the additional issue found in #775.
2016-08-11 08:16:20 +02:00
Eduardo Bellido Bellido 183c514881 Make #691 work on Linux 2016-03-27 00:03:40 +01:00
Travis Swicegood 5b6b7392de Include a note in code about the upstream bugfix and remove trailing spaces 2016-03-25 17:18:14 -05:00
Travis Swicegood 06b458c896 Replace embedded fasd with initialization
There are multiple ways to install fasd, but the initialization
still needs to happen. Currently, fasd is broken in bash in that
it doesn't maintain the exit code properly. This custom init removes
the call to `fasd --init bash-hook` and replaces it with the version
that would be generated once fasd PR #72 is merged.

See: https://github.com/clvv/fasd/pull/72
2016-03-25 17:08:35 -05:00
Travis Swicegood c600d82f46 Update to latest version of fasd.
This brings the fasd up to November 5, 2015.

Commit imported: d41c4b0470
2016-03-25 10:55:04 -05:00
Erich Smith 65ea1e9f10 fix bug in fasd init
since we're sourcing this as a plugin, which loads the function, it's
counterproductive to also define the 'fasd' alias

moving the about-plugin metadata into the case block makes this script
safe for execution even if composure metadata isn't exported and
available

rename fasd.bash to fasd.plugin.bash to bring it inline with the other
plugin scripts
2012-05-13 20:56:34 -04:00