zsh: Add macro for cloning GitHub and configure Ctrl-left and Ctrl-right

master
Chan Wen Xu 2021-12-21 21:04:09 +07:00
parent 93e1ab5afd
commit f93bb932d4
Signed by: chanbakjsd
GPG Key ID: 7E9A74B1B07A7558
1 changed files with 8 additions and 0 deletions

@ -67,6 +67,14 @@
sessionVariables = {
EDITOR = "vim";
};
initExtra = ''
function ghc() { # GitHub Clone
git clone "ssh://git@github.com/$1"
}
bindkey ";5C" forward-word
bindkey ";5D" backward-word
'';
};
services.flameshot.enable = true;
services.gpg-agent.enable = true;