Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Commit

Permalink
fix: add default path to XCURSOR_PATH (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
bketelsen authored Sep 14, 2023
1 parent b3958b3 commit c491c41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/flake/templates/shell.nix.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{{- if eq .Config.Shell "bash" }}
programs.bash.profileExtra = ''
[ -r ~/.nix-profile/etc/profile.d/nix.sh ] && source ~/.nix-profile/etc/profile.d/nix.sh
export XCURSOR_PATH=~/.icons:~/.nix-profile/share/icons/:$XCURSOR_PATH
export XCURSOR_PATH=$XCURSOR_PATH:/usr/share/icons:~/.local/share/icons:~/.icons:~/.nix-profile/share/icons

'';
programs.bash.initExtra = ''
Expand All @@ -30,7 +30,7 @@
{{- if eq .Config.Shell "zsh" }}
programs.zsh.profileExtra = ''
[ -r ~/.nix-profile/etc/profile.d/nix.sh ] && source ~/.nix-profile/etc/profile.d/nix.sh
export XCURSOR_PATH=~/.icons:~/.nix-profile/share/icons/:$XCURSOR_PATH
export XCURSOR_PATH=$XCURSOR_PATH:/usr/share/icons:~/.local/share/icons:~/.icons:~/.nix-profile/share/icons
'';
programs.zsh.enableCompletion = true;
programs.zsh.enable = true;
Expand Down

0 comments on commit c491c41

Please sign in to comment.