enable gpg/ssh agent
This commit is contained in:
parent
5df8317a4a
commit
f21d40ce98
3 changed files with 4 additions and 3 deletions
|
|
@ -26,6 +26,7 @@
|
||||||
};
|
};
|
||||||
services.gpg-agent = {
|
services.gpg-agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
enableSshSupport = true;
|
||||||
pinentryFlavor = "curses";
|
pinentryFlavor = "curses";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@
|
||||||
bind '"\C-k": previous-history'
|
bind '"\C-k": previous-history'
|
||||||
bind '"\C-j": next-history'
|
bind '"\C-j": next-history'
|
||||||
function cd {
|
function cd {
|
||||||
cmd="ls"
|
cmd="ls --color=auto"
|
||||||
builtin cd "$@" && $cmd
|
builtin cd "$@" && $cmd
|
||||||
}
|
}
|
||||||
exists "kubectl" && source <(kubectl completion bash)
|
exists "kubectl" && source <(kubectl completion bash)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue