thicc shell init

This commit is contained in:
alisceon 2025-12-15 16:00:57 +01:00
parent c9e047a1af
commit 8f5f96ea36
2 changed files with 35 additions and 0 deletions

View file

@ -48,6 +48,21 @@ if $XONSH_INTERACTIVE:
XSH.env['fzf_ssh_binding'] = "c-s" # Ctrl+S XSH.env['fzf_ssh_binding'] = "c-s" # Ctrl+S
XSH.env['fzf_file_binding'] = "c-t" # Ctrl+T XSH.env['fzf_file_binding'] = "c-t" # Ctrl+T
XSH.env['fzf_dir_binding'] = "c-g" # Ctrl+G XSH.env['fzf_dir_binding'] = "c-g" # Ctrl+G
if $SHELL_TYPE == "THICC":
import os
import sys
import subprocess
import platform
import socket
import getpass
import pathlib
import re
import json
import scapy.all
import yaml
import requests
print_color("{BOLD_GREEN}THICC SHELL LOADED!{RESET}")
hour = t0.hour hour = t0.hour
theo | kittycatsay theo | kittycatsay

20
util/thicc-shell.nix Normal file
View file

@ -0,0 +1,20 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
name = "nixos_config";
buildInputs = with pkgs; [
xonsh
python3
python3Packages.scapy
python3Packages.pyyaml
python3Packages.requests
];
SHELL_TYPE = "THICC";
shellHook = ''
echo "NixOS Config Shell"
${pkgs.xonsh}/bin/xonsh
'';
}