small cleanup and version bump
This commit is contained in:
parent
d585a60e1d
commit
21e01f75dc
14 changed files with 115 additions and 380 deletions
|
|
@ -6,6 +6,7 @@
|
|||
imports = [
|
||||
./tmux.nix
|
||||
./git.nix
|
||||
./gpg.nix
|
||||
];
|
||||
home = {
|
||||
packages = with pkgs; [
|
||||
|
|
@ -14,6 +15,7 @@
|
|||
ripgrep
|
||||
fd
|
||||
jq
|
||||
nvim-pkg
|
||||
];
|
||||
};
|
||||
programs.fish = {
|
||||
|
|
@ -67,6 +69,17 @@
|
|||
tcd = "cd $(mktemp -d)";
|
||||
docker = "nerdctl";
|
||||
vimdiff = "nvim -d";
|
||||
kp = ''
|
||||
bash -c '
|
||||
pid=$(
|
||||
ps -ef | sed 1d | eval "fzf -m --header='[kill:process]'" | awk '{print $2}'
|
||||
)
|
||||
if [ "x$pid" != "x" ]; then
|
||||
echo $pid | xargs kill -9
|
||||
kp
|
||||
fi
|
||||
'
|
||||
'';
|
||||
};
|
||||
};
|
||||
programs.bash = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue