mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
chore: comply with new naming for zsh config
This commit is contained in:
parent
2869069ca9
commit
1e18621bac
1 changed files with 29 additions and 23 deletions
|
|
@ -1,4 +1,10 @@
|
||||||
{ hostname, config, pkgs, host, ...}:
|
{
|
||||||
|
hostname,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
host,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
programs = {
|
programs = {
|
||||||
zsh = {
|
zsh = {
|
||||||
|
|
@ -27,7 +33,7 @@
|
||||||
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE = 1;
|
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE = 1;
|
||||||
};
|
};
|
||||||
|
|
||||||
initExtra = ''
|
initContent = ''
|
||||||
autoload -U add-zsh-hook
|
autoload -U add-zsh-hook
|
||||||
autoload -U compinit
|
autoload -U compinit
|
||||||
zmodload zsh/complist
|
zmodload zsh/complist
|
||||||
|
|
@ -116,20 +122,20 @@
|
||||||
zsh-abbr = {
|
zsh-abbr = {
|
||||||
enable = true;
|
enable = true;
|
||||||
abbreviations = {
|
abbreviations = {
|
||||||
mkdir="mkdir -p";
|
mkdir = "mkdir -p";
|
||||||
vim="nvim";
|
vim = "nvim";
|
||||||
v="nvim";
|
v = "nvim";
|
||||||
vi="nvim";
|
vi = "nvim";
|
||||||
nv="nvim";
|
nv = "nvim";
|
||||||
nvi="nvim";
|
nvi = "nvim";
|
||||||
gc="git clone";
|
gc = "git clone";
|
||||||
ga="git add .";
|
ga = "git add .";
|
||||||
gcm="git commit -m";
|
gcm = "git commit -m";
|
||||||
gph="git push -u origin main";
|
gph = "git push -u origin main";
|
||||||
g="git";
|
g = "git";
|
||||||
|
|
||||||
calc="eva";
|
calc = "eva";
|
||||||
wikipedia="wikit";
|
wikipedia = "wikit";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -202,9 +208,9 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
fzf = {
|
fzf = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
zoxide = {
|
zoxide = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue