zsh history adheres to XDG specs
parent
153611e27b
commit
5a19666431
|
@ -91,6 +91,7 @@
|
||||||
".local/share/mpd"
|
".local/share/mpd"
|
||||||
".local/share/webkitgtk"
|
".local/share/webkitgtk"
|
||||||
".local/state/wireplumber"
|
".local/state/wireplumber"
|
||||||
|
".local/state/zsh"
|
||||||
".mozilla"
|
".mozilla"
|
||||||
".newsboat"
|
".newsboat"
|
||||||
".password-store"
|
".password-store"
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
let xdg-state-home = "${config.home.homeDirectory}/.local/state";
|
||||||
|
in {
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
|
@ -54,6 +55,7 @@
|
||||||
ignoreDups = true;
|
ignoreDups = true;
|
||||||
ignoreSpace = true;
|
ignoreSpace = true;
|
||||||
share = false;
|
share = false;
|
||||||
|
path = "${xdg-state-home}/zsh/history";
|
||||||
};
|
};
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
testpl = ''echo "\ue0b0 \u00b1 \ue0a0 \u27a6 \u2718 \u26a1 \u2699"'';
|
testpl = ''echo "\ue0b0 \u00b1 \ue0a0 \u27a6 \u2718 \u26a1 \u2699"'';
|
||||||
|
|
Loading…
Reference in New Issue