Use common
This commit is contained in:
parent
d329b6dc19
commit
5c0cd31481
2 changed files with 4 additions and 1 deletions
2
nixos/gitconfig
Normal file
2
nixos/gitconfig
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
[alias]
|
||||||
|
co = checkout
|
||||||
|
|
@ -118,6 +118,7 @@ in {
|
||||||
directory = "/var/petersweb-infra";
|
directory = "/var/petersweb-infra";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
includes = [{path = toString ../../gitconfig;}];
|
||||||
};
|
};
|
||||||
|
|
||||||
zsh = {
|
zsh = {
|
||||||
|
|
@ -161,7 +162,6 @@ in {
|
||||||
show_path = "echo $PATH | tr ':' '\n'";
|
show_path = "echo $PATH | tr ':' '\n'";
|
||||||
|
|
||||||
gst = "git status";
|
gst = "git status";
|
||||||
gco = "git checkout";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
envExtra = ''
|
envExtra = ''
|
||||||
|
|
@ -169,6 +169,7 @@ in {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
|
${builtins.readFile ../../aliases.zsh}
|
||||||
bindkey '^p' history-search-backward
|
bindkey '^p' history-search-backward
|
||||||
bindkey '^n' history-search-forward
|
bindkey '^n' history-search-forward
|
||||||
bindkey '^e' end-of-line
|
bindkey '^e' end-of-line
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue