configuring
This commit is contained in:
parent
ec390d1f9c
commit
eeca795d8a
3 changed files with 27 additions and 6 deletions
|
@ -163,8 +163,8 @@
|
|||
# enable fish and launch it from bash for interactive shells
|
||||
programs.fish.enable = true;
|
||||
programs.bash = {
|
||||
interactiveShellInit = ''
|
||||
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
|
||||
interactiveShellInit = ''
|
||||
if [[ $(${pkgs.procps}/bin/ps --no-header --pid=$PPID --format=comm) != "fish" && -z ''${BASH_EXECUTION_STRING} ]]
|
||||
then
|
||||
shopt -q login_shell && LOGIN_OPTION='--login' || LOGIN_OPTION=""
|
||||
exec ${pkgs.fish}/bin/fish $LOGIN_OPTION
|
||||
|
@ -187,6 +187,7 @@
|
|||
rsync
|
||||
#kanata
|
||||
kmonad
|
||||
fishPlugins.foriegn-env
|
||||
];
|
||||
|
||||
#systemd.services.kanata = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue