1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-23 21:01:58 +00:00
Commit graph

31 commits

Author SHA1 Message Date
Brian McKenna
486e56aba8
feat(autojump): add path for nix per-user (#11935)
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
2024-01-17 17:09:43 +01:00
Ennio Mara
36f1055eee
fix(autojump): use sh file instead of zsh in NixOS (#11425) 2023-01-02 21:55:47 +01:00
Ennio Mara
6710fd588a
fix(autojump): fix autojump sourcing in nix (-darwin) (#11422)
* fix(autojump): fix autojump sourcing in nix (-darwin)

This plugin expects to source an sh/zsh file which sets up autojump, but
that is not done when running Nix on macos using nix-darwin. Looking at
the old value (/etc/profiles/per-user/$USER/bin/autojump), it points to a
binary file instead of the setup script.

* Use zsh file instead of sh
2023-01-02 21:32:45 +01:00
Paul S
49691b58b3
feat(autojump): add support for macOS and nix (#11291) 2022-10-25 21:39:58 +02:00
Jason A. Crome
292f11e97a
feat(autojump): add support for NetBSD (#9746) 2021-12-28 17:20:13 +01:00
Julian Horsch
4d5bfe4c69
feat(autojump): add new Homebrew default path on M1 Macs (#9637)
On M1-Macs homebrew uses /opt/homebrew as default location for ARM
packages. This results in the autojump plugin not being able to find
autojump after a clean default installation.
This commit adds the new default location to the autojump plugin.
2021-09-06 11:30:28 +02:00
Marc Cornellà
2560f04982 autojump: clarify need to install it first
Related: #8806
2020-04-22 12:01:30 +02:00
mapshen
9524db7398 autojump: fix loading when autojump is not in $PATH (#8074)
The `commands[autojump]` block errs out when autojump is not found, and the rest, which is intended to be used for loading `autojump`, does not get executed.
2019-08-27 21:41:44 +02:00
Marc Cornellà
b4c06f2b50 Complain when no autojump script was found 2019-04-09 19:45:49 +02:00
Marc Cornellà
fd105b6e52 Refactor and clean up autojump plugin 2019-04-09 19:45:30 +02:00
Marc Cornellà
5a424fc12f Check first default Homebrew prefix 2019-04-09 19:22:51 +02:00
Marc Cornellà
4ef29c9f18 Fix homebrew path location 2019-04-09 19:21:05 +02:00
rl1k
ab63d240da Use source instead of dot to load autojump 2019-04-09 19:18:37 +02:00
Alex Parker
5e9ee67f2b Update autojump.plugin.zsh
I was adding autojump on a new machine and annoyingly forgot that autojump
was to be installed on its own. This may be helpful.
2019-04-09 19:13:52 +02:00
Maximilian Güntner
481a649f90 NixOS: Use autojump.sh to figure out location of autojump.zsh
Signed-off-by: Maximilian Güntner <code@maschinenpsychologe.de>
2019-04-09 19:12:27 +02:00
Ruben Di Battista
6c1dab2320 Fix autojump sourcing on OSX with Macports (#4801)
* Fix autojump sourcing on OSX with Macports

The last version of autojump available on Macports does not have
anymore different shell scripts (.sh, .zsh, .bash ...) to be sourced
but just one autojump.sh that takes care of that located at
/opt/local/etc/profile.d/autojump.sh

fix # 4625

* Fix bug with macports autojump on OSX.
2018-06-20 23:27:38 +02:00
Wenzheng Jiang
1e027509d8 Add nixos support for autojump plugin (#6365) 2017-11-01 06:05:35 -07:00
Hans Chen
1bf5c587a5 Update autojump plugin for latest brew installation 2015-08-25 17:05:28 -04:00
ZHANG Biao
a19d1d1f05 autojump installed from github has mv the autojump.zsh to $HOME/.autojump/share/autojump/autojump.zsh 2014-12-04 11:38:37 +08:00
Geoffrey Washburn
923d2c85b4 Fix autojump script to support Nix installations 2014-11-15 13:32:34 -05:00
Hong Xu
50fe95a69e Autojump plugin: check user local installation first.
Users may install their own version of autojump to override the system
installed version.
2014-06-08 11:06:13 +02:00
ych
699c82eb89 Add FreeBSD support for autojump plugin 2013-11-29 18:34:12 +08:00
bebugz
6de78ad2ba gentoo linux support 2013-05-09 13:12:11 +04:00
Robby Russell
fcc8b19253 Merge pull request #1328 from mfoo/master
Fix autojump plugin error on Linux with manual installation of autojump
2012-12-02 13:05:28 -08:00
Sean Escriva
f967f2bfd7 update autojump plugin for latest brew installed autojump 2012-11-06 13:38:08 -08:00
Martin Foot
5e0fd9bb9f Add user-local installation autojump zsh plugin source
If you manually install autojump as advised by the autojump README by running
the install.sh script, it will install by default to $HOME/.autojump.

Add an extra case in the zsh autojump plugin to find the new file and stop a
syntax error in the else clause every time a new zsh starts (running brew when
brew does not exist).
2012-09-26 14:16:15 +01:00
Aviad Reich
7284e6b397 added autojump plugin support for mac os x + port 2012-09-21 08:08:53 +03:00
Calogero Lo Leggio
5809a4721d check if autojump is installed 2012-01-10 10:01:16 +01:00
Calogero Lo Leggio
955825b1e9 autojump plugin enhanced 2012-01-03 18:03:53 +01:00
Christoph Neuroth
3e7e52a25f add support for autojump installed via macports 2011-12-14 11:47:24 +01:00
Jacob Atzen
31ef619967 Add autojump plugin 2011-05-19 16:20:30 +02:00