This commit is contained in:
iofq 2025-04-20 21:02:58 -05:00
parent 21e01f75dc
commit 625fbde680
4 changed files with 6 additions and 16 deletions

View file

@ -22,6 +22,7 @@
enable = true;
interactiveShellInit = ''
set fish_greeting # Disable greeting
set show_startup_tips false
set -U tide_right_prompt_items status\x1ecmd_duration\x1etime
'';
shellInit = "
@ -69,17 +70,6 @@
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 = {