mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-11-29 22:58:06 +00:00
services: shellutils: Run in interactive shell only.
* modules/rosenthal/services/shellutils.scm (%home-atuin-fish) (%home-direnv-fish, %home-zoxide-fish): Run in interactive shell.
This commit is contained in:
1 file changed
+15
-6
@@ -54,8 +54,11 @@
|
|||||||
(atuin)
|
(atuin)
|
||||||
(home-fish-extension
|
(home-fish-extension
|
||||||
(config
|
(config
|
||||||
(list (mixed-text-file "atuin.fish"
|
(list (mixed-text-file "atuin.fish" "\
|
||||||
atuin "/bin/atuin init fish | source\n"))))))
|
status is-interactive
|
||||||
|
and begin
|
||||||
|
" atuin "/bin/atuin init fish | source
|
||||||
|
end\n"))))))
|
||||||
|
|
||||||
(define home-fish-plugin-atuin-service-type
|
(define home-fish-plugin-atuin-service-type
|
||||||
(service-type
|
(service-type
|
||||||
@@ -88,8 +91,11 @@
|
|||||||
(direnv)
|
(direnv)
|
||||||
(home-fish-extension
|
(home-fish-extension
|
||||||
(config
|
(config
|
||||||
(list (mixed-text-file "direnv.fish"
|
(list (mixed-text-file "direnv.fish" "\
|
||||||
direnv "/bin/direnv hook fish | source\n"))))))
|
status is-interactive
|
||||||
|
and begin
|
||||||
|
" direnv "/bin/direnv hook fish | source
|
||||||
|
end\n"))))))
|
||||||
|
|
||||||
(define home-fish-plugin-direnv-service-type
|
(define home-fish-plugin-direnv-service-type
|
||||||
(service-type
|
(service-type
|
||||||
@@ -122,8 +128,11 @@
|
|||||||
(zoxide)
|
(zoxide)
|
||||||
(home-fish-extension
|
(home-fish-extension
|
||||||
(config
|
(config
|
||||||
(list (mixed-text-file "zoxide.fish"
|
(list (mixed-text-file "zoxide.fish" "\
|
||||||
zoxide "/bin/zoxide init --cmd cd fish | source\n"))))))
|
status is-interactive
|
||||||
|
and begin
|
||||||
|
" zoxide "/bin/zoxide init --cmd cd fish | source
|
||||||
|
end\n"))))))
|
||||||
|
|
||||||
(define home-fish-plugin-zoxide-service-type
|
(define home-fish-plugin-zoxide-service-type
|
||||||
(service-type
|
(service-type
|
||||||
|
|||||||
Reference in new issue
Block a user