thicc shell init
This commit is contained in:
parent
c9e047a1af
commit
8f5f96ea36
2 changed files with 35 additions and 0 deletions
|
|
@ -48,6 +48,21 @@ if $XONSH_INTERACTIVE:
|
|||
XSH.env['fzf_ssh_binding'] = "c-s" # Ctrl+S
|
||||
XSH.env['fzf_file_binding'] = "c-t" # Ctrl+T
|
||||
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
|
||||
theo | kittycatsay
|
||||
|
|
|
|||
20
util/thicc-shell.nix
Normal file
20
util/thicc-shell.nix
Normal 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
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue