Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Oh My Zsh
Commits
481a649f
Commit
481a649f
authored
Jun 15, 2016
by
Maximilian Güntner
Committed by
Marc Cornellà
Apr 09, 2019
Browse files
NixOS: Use autojump.sh to figure out location of autojump.zsh
Signed-off-by:
Maximilian Güntner
<
code@maschinenpsychologe.de
>
parent
cab1ac6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/autojump/autojump.plugin.zsh
View file @
481a649f
...
@@ -3,8 +3,8 @@ if [ $commands[autojump] ]; then # check if autojump is installed
...
@@ -3,8 +3,8 @@ if [ $commands[autojump] ]; then # check if autojump is installed
.
$HOME
/.autojump/etc/profile.d/autojump.zsh
.
$HOME
/.autojump/etc/profile.d/autojump.zsh
elif
[
-f
$HOME
/.autojump/share/autojump/autojump.zsh
]
;
then
# another manual user-local installation
elif
[
-f
$HOME
/.autojump/share/autojump/autojump.zsh
]
;
then
# another manual user-local installation
.
$HOME
/.autojump/share/autojump/autojump.zsh
.
$HOME
/.autojump/share/autojump/autojump.zsh
elif
[
-f
$HOME
/.nix-profile/etc/profile.d/autojump.
z
sh
]
;
then
# nix installation
elif
[
-f
$HOME
/.nix-profile/etc/profile.d/autojump.sh
]
;
then
# nix installation
.
$HOME
/.nix-profile/etc/profile.d/autojump.
z
sh
.
$HOME
/.nix-profile/etc/profile.d/autojump.sh
elif
[
-f
/run/current-system/sw/share/autojump/autojump.zsh
]
;
then
# nixos installation
elif
[
-f
/run/current-system/sw/share/autojump/autojump.zsh
]
;
then
# nixos installation
.
/run/current-system/sw/share/autojump/autojump.zsh
.
/run/current-system/sw/share/autojump/autojump.zsh
elif
[
-f
/usr/share/autojump/autojump.zsh
]
;
then
# debian and ubuntu package
elif
[
-f
/usr/share/autojump/autojump.zsh
]
;
then
# debian and ubuntu package
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment