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 = {
|
||||
zsh = {
|
||||
|
|
@ -27,7 +33,7 @@
|
|||
HISTORY_SUBSTRING_SEARCH_ENSURE_UNIQUE = 1;
|
||||
};
|
||||
|
||||
initExtra = ''
|
||||
initContent = ''
|
||||
autoload -U add-zsh-hook
|
||||
autoload -U compinit
|
||||
zmodload zsh/complist
|
||||
|
|
@ -116,20 +122,20 @@
|
|||
zsh-abbr = {
|
||||
enable = true;
|
||||
abbreviations = {
|
||||
mkdir="mkdir -p";
|
||||
vim="nvim";
|
||||
v="nvim";
|
||||
vi="nvim";
|
||||
nv="nvim";
|
||||
nvi="nvim";
|
||||
gc="git clone";
|
||||
ga="git add .";
|
||||
gcm="git commit -m";
|
||||
gph="git push -u origin main";
|
||||
g="git";
|
||||
mkdir = "mkdir -p";
|
||||
vim = "nvim";
|
||||
v = "nvim";
|
||||
vi = "nvim";
|
||||
nv = "nvim";
|
||||
nvi = "nvim";
|
||||
gc = "git clone";
|
||||
ga = "git add .";
|
||||
gcm = "git commit -m";
|
||||
gph = "git push -u origin main";
|
||||
g = "git";
|
||||
|
||||
calc="eva";
|
||||
wikipedia="wikit";
|
||||
calc = "eva";
|
||||
wikipedia = "wikit";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue