mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-03-04 17:04:21 +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:
parent
0dbc71e278
commit
55459b2515
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user