system-configuration/modules/home-config/bash.scm

bash.scm

1
(define-module (home-config bash)
2
  #:use-module (home)
3
  #:use-module (home bash)
4
  #:export (bash-home))
5
6
(define bash-home
7
  (user-home bash-home-type
8
    (bash-configuration
9
      (history "/home/tyreunom/.local/share/bash/history")
10
      (rc (append default-bashrc
11
                  '("alias vim=nvim")))
12
      (profile (append default-bash-profile
13
                       (list
14
                         "eval \"$(direnv hook bash)\"\n"
15
                         "alias info=\"info --vi-keys\"\n"
16
                         "export EDITOR=nvim\n"
17
                         "export MINETEST_SUBGAME_PATH="
18
                         (@@ (gnu packages games) minetest-data)
19
                         "/share/minetest/games/\n"))))))
20