Remove some unneeded zsh config
This commit is contained in:
parent
b2c3e15aa6
commit
1091e67fe7
|
@ -268,7 +268,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
zellij = { enable = true; };
|
zellij = { enable = true; };
|
||||||
zsh = {
|
zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -277,9 +276,7 @@
|
||||||
syntaxHighlighting.enable = true;
|
syntaxHighlighting.enable = true;
|
||||||
enableVteIntegration = true;
|
enableVteIntegration = true;
|
||||||
autocd = true;
|
autocd = true;
|
||||||
dotDir = ".config/zsh";
|
|
||||||
historySubstringSearch.enable = true;
|
historySubstringSearch.enable = true;
|
||||||
history.path = "${config.xdg.dataHome}/zsh/history";
|
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
xdg-query-program () {
|
xdg-query-program () {
|
||||||
FILETYPE=$(xdg-mime query filetype $@)
|
FILETYPE=$(xdg-mime query filetype $@)
|
||||||
|
@ -288,7 +285,7 @@
|
||||||
}
|
}
|
||||||
rsync-local-config () {
|
rsync-local-config () {
|
||||||
HOST=$1
|
HOST=$1
|
||||||
for TARGET in bat git emacs/init.el emacs/templates starship.toml; do
|
for TARGET in bat git starship.toml; do
|
||||||
SOURCE="${config.xdg.configHome}/$TARGET"
|
SOURCE="${config.xdg.configHome}/$TARGET"
|
||||||
TMP_TARGET=/tmp/rsync-local-config
|
TMP_TARGET=/tmp/rsync-local-config
|
||||||
TMP_SOURCE=$TMP_TARGET
|
TMP_SOURCE=$TMP_TARGET
|
||||||
|
|
Loading…
Reference in a new issue