Tweak common
This commit is contained in:
parent
5c0cd31481
commit
745d33661d
2 changed files with 8 additions and 8 deletions
|
|
@ -1 +0,0 @@
|
||||||
alias gco='git checkout'
|
|
||||||
|
|
@ -152,16 +152,18 @@ in {
|
||||||
];
|
];
|
||||||
|
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
"u" = "cd ..";
|
u = "cd ..";
|
||||||
"uu" = "cd ../..";
|
uu = "cd ../..";
|
||||||
"uuu" = "cd ../../..";
|
uuu = "cd ../../..";
|
||||||
"uuuu" = "cd ../../../..";
|
uuuu = "cd ../../../..";
|
||||||
|
uuuuu = "cd ../../../../..";
|
||||||
gs = "git status";
|
gs = "git status";
|
||||||
|
gco = "git checkout";
|
||||||
|
gb = "git branch";
|
||||||
|
gpcb = "git push origin $(git rev-parse --abbrev-ref HEAD)";
|
||||||
gc = "nix-collect-garbage --delete-old";
|
gc = "nix-collect-garbage --delete-old";
|
||||||
refresh = "source ~/.zshrc";
|
refresh = "source ~/.zshrc";
|
||||||
show_path = "echo $PATH | tr ':' '\n'";
|
show_path = "echo $PATH | tr ':' '\n'";
|
||||||
|
|
||||||
gst = "git status";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
envExtra = ''
|
envExtra = ''
|
||||||
|
|
@ -169,7 +171,6 @@ 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