buffet
afcd343d0a
Revert "docs: add rpm-ostree status output" This reverts commit ab4d52098130661a6397a4b40774717ec0bb3647. Revert "fix(sway): disable title text" This reverts commit ad027daa59fc025f982da0cc90ddb7a9ff2b8530. Revert "feat: add ominous to cargo mommy moods" This reverts commit f68ccc7e69f2a2404c81205dfeaa7b970da5716d. Revert "fix(bash): add assume-yes to flatpak update" This reverts commit 36fd6488e6011855989bfc4d317d1234e55fd661. Revert "feat: set up env better" This reverts commit f6dd44a0bb0aaf710f7299999690b3ab92cb06df. Revert "feat(sway): enable borders" This reverts commit bc4e2d934d3aa99c72bb35f2774a33101d20232d. Revert "feat(sway): use foot instead of footclient by default" This reverts commit 760db618884698d6fa9e360326c877eace44f416. Revert "feat(bash): improve prompt" This reverts commit 2dc1a49955a579649630fd2af3dca68a6f42a678. Revert "bash: add update command" This reverts commit 64c20bc06d654a09af138353dedd2c58d583f13d. Revert "profile: add cargo bin to PATH" This reverts commit d4b2b31fd64b2132a07194e3e44aecc40b1dee9f. Revert "sway: remove foot autostart from sway config" This reverts commit 9d656b5d68d654d4b654f5047661bb4b519af6d5. Revert "sway: remove autostart from sway" This reverts commit d07c7fcaa17337659295f9af48fcebdc31ae0e45. Revert "fcitx5: change install target to fix autostart" This reverts commit a189c2f52f283872b72a79422eb4ce79939998ba. Revert "firefox: make colors match better" This reverts commit 722e9fc8627c5ab5e109e5ffd7a874ac643ca33a. Revert "swaylock: use new colors" This reverts commit f8ffdbd6fe1fd013ff345a6d74a76ccaed3bf711. Revert "foot: use new greens and cyans" This reverts commit 23e62347cbce7aa132e5e59cb7aa626480c46b59. Revert "bash: better prompt" This reverts commit 2ad5b813294338a0947d4145bc18c32f8ab77c7f. Revert "foot: new colors" This reverts commit aa1130d4962060710cf6f2f22cfca0686cf275f6. Revert "sway: new rice" This reverts commit d6fd3bca6b8d24bf3128ebe5495ccba68e7be03d. Revert "profile: add roswell/bin to PATH" This reverts commit 00dae6a9887e70e72d9023d757b54670cfff70d3. Revert "foot: set TERM=xterm-256color" This reverts commit 944ba167ea4a51503bb6f82ac07a1f6534fea1f3. Revert "bash: use CONTAINER_ID instead of DISTROBOX_ENTER_PATH" This reverts commit 98c88c91f922b89368b37ba79911e1c3c30cbf44. Revert "bash: add distrobox alias" This reverts commit 0c5a16c9bdd74a6807a82cb1b8e53713ff801bac. Revert "profile: add .local/bin to PATH" This reverts commit d901806cdc799db0032815e798c804e3adb1c033. Revert "bash: print reverse video % when last line doesn't end in linebreak" This reverts commit c79cc7936a739a4a42b0c05d62951fb1dfc71627. Revert "bash: use == for comparison" This reverts commit 55c6628409daa63f2973b7988f56cee1d38324a7. Revert "bash: don't set PS0" This reverts commit b72ea9fea1626f42ca75df15dd2a0b84036a1e03. Revert "sway: add rofi bind" This reverts commit 9d3fd60da599af07d5f614edea2f45a0ab532bc3. Revert "sway: use firefox instead of firefox-wayland" This reverts commit 1a98cdf50e1b4bc08e9151ab2924124e1c0909aa. Revert "firefox: use new profile name" This reverts commit 7dd8f1bbd61ac96b64c4b13121b3e1f476c133da. Revert "bash: switch to prompt with more info" This reverts commit 080c0c9f824f3d678ab3627e3eafa81e240329a4. Revert "sway: don't autostart wl-paste, it doesn't do anything" This reverts commit 37ddd0e50cdf627a14b237cfdd9a980235e55e53. Revert "sway: make use of foot server" This reverts commit 0013096d2621a9624efd9265f7313d4717d36c09. Revert "port configs" This reverts commit 9ea4f090f73ed124d5b4eed58d300ad234957133. Revert "get rid of old config" This reverts commit 942e1dff74b7465a0be5817b187a8580b0102f6f.
47 lines
1.1 KiB
Nix
47 lines
1.1 KiB
Nix
{pkgs, ...}: let
|
|
inputrc = pkgs.writeText "inputrc" ''
|
|
set completion-ignore-case on
|
|
'';
|
|
in {
|
|
home-manager.users.buffet = {
|
|
home.sessionVariables = {
|
|
INPUTRC = inputrc;
|
|
};
|
|
|
|
programs.bash = {
|
|
enable = true;
|
|
historyControl = ["erasedups" "ignorespace"];
|
|
|
|
shellAliases = {
|
|
"cd.." = "cd ..";
|
|
ch = "ssh -t irc.buffet.sh -- screen -r weechat";
|
|
htop = "htop -t";
|
|
mkdir = "mkdir -p";
|
|
rg = "rg -S";
|
|
update = let
|
|
change-message = pkgs.writeScript "change-commit-message" ''
|
|
#!/bin/sh
|
|
sed -i '1s/.*/chore: update/' "$1"
|
|
'';
|
|
in "nix flake update --commit-lock-file && EDITOR=${change-message} git commit --amend";
|
|
};
|
|
|
|
shellOptions = [
|
|
"cdspell"
|
|
"checkjobs"
|
|
"extglob"
|
|
"globstar"
|
|
"histappend"
|
|
"nocaseglob"
|
|
];
|
|
|
|
initExtra = ''
|
|
PS0='\[\e[0m\]'
|
|
PS1='\[\e[1m\] '
|
|
|
|
bind '"\C-o": "\C-a\C-k fg; if [[ $? == 1 ]]; then nvim; fi\n"'
|
|
bind '"\e\C-m": "\C-e | nvim\C-m"'
|
|
'';
|
|
};
|
|
};
|
|
}
|