Update formatter
This commit is contained in:
parent
4eea2232fb
commit
d8235cb2a9
55 changed files with 1031 additions and 664 deletions
|
@ -1,8 +1,14 @@
|
|||
{ pkgs, ... }: {
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
programs = {
|
||||
bash = {
|
||||
enable = true;
|
||||
historyIgnore = [ "ls" "cd" "exit" "j" ];
|
||||
historyIgnore = [
|
||||
"ls"
|
||||
"cd"
|
||||
"exit"
|
||||
"j"
|
||||
];
|
||||
shellAliases = {
|
||||
# Sane defaults
|
||||
l = "ls -lah";
|
||||
|
@ -14,13 +20,10 @@
|
|||
ack = "rg";
|
||||
|
||||
# Git helpers
|
||||
git-fetch-pr =
|
||||
"git config --add remote.origin.fetch '+refs/pull/*/head:refs/remotes/origin/pr/*'";
|
||||
git-config-fetchall = ''
|
||||
git config --add remote.origin.fetch "+refs/pull/*/head:refs/remotes/origin/pr/*"'';
|
||||
git-fetch-pr = "git config --add remote.origin.fetch '+refs/pull/*/head:refs/remotes/origin/pr/*'";
|
||||
git-config-fetchall = ''git config --add remote.origin.fetch "+refs/pull/*/head:refs/remotes/origin/pr/*"'';
|
||||
|
||||
git-enable-signing =
|
||||
"git config commit.gpgsign true && git config tag.gpgsign true";
|
||||
git-enable-signing = "git config commit.gpgsign true && git config tag.gpgsign true";
|
||||
# Common Typos
|
||||
gits = "git s";
|
||||
};
|
||||
|
@ -29,7 +32,13 @@
|
|||
xdg-open "$*" >/dev/null 2>&1 &
|
||||
}
|
||||
'';
|
||||
shellOptions = [ "autocd" "checkjobs" "dotglob" "globstar" "histappend" ];
|
||||
shellOptions = [
|
||||
"autocd"
|
||||
"checkjobs"
|
||||
"dotglob"
|
||||
"globstar"
|
||||
"histappend"
|
||||
];
|
||||
sessionVariables = {
|
||||
#TODO: Some of these should be migrated to the according application.
|
||||
GPG_TTY = "$(tty)";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue