mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-26 01:56:13 +01:00
Makes bash load .bashrc on SSH login
Signed-off-by: main <magic_rb@redalder.org>
This commit is contained in:
parent
ae2b112e6e
commit
c6f5283d76
7
home-manager/modules/bash/bash_profile
Normal file
7
home-manager/modules/bash/bash_profile
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# SPDX-FileCopyrightText: 2022 Richard Brežák <richard@brezak.sk>
|
||||
#
|
||||
# SPDX-License-Identifier: LGPL-3.0-or-later
|
||||
|
||||
source $HOME/.bashrc
|
|
@ -35,6 +35,7 @@ in {
|
|||
programs.direnv.nix-direnv.enable = mkIf cfg.enableDirenv true;
|
||||
|
||||
home.file = {
|
||||
".bash_profile".source = ./bash_profile;
|
||||
".bashrc".source = pkgs.writeSubstitutedFile {
|
||||
name = ".bashrc";
|
||||
file = ./bashrc;
|
||||
|
|
Loading…
Reference in a new issue