From a222958eea6d76a29bc9b05c54f060d7c8b47c64 Mon Sep 17 00:00:00 2001 From: Hadi <112569860+anotherhadi@users.noreply.github.com> Date: Tue, 21 Apr 2026 18:44:39 +0200 Subject: [PATCH] remove sesh Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com> --- home/programs/shell/zsh.nix | 28 ---------------------------- 1 file changed, 28 deletions(-) diff --git a/home/programs/shell/zsh.nix b/home/programs/shell/zsh.nix index 1680f0f..8459727 100644 --- a/home/programs/shell/zsh.nix +++ b/home/programs/shell/zsh.nix @@ -96,29 +96,6 @@ in { else "" } - function sesh-sessions() { - session=$(sesh list -t -c | fzf --height 70% --reverse) - [[ -z "$session" ]] && return - sesh connect $session - } - - function chatgptfolder(){ - echo "################################" - echo "### TREE ###" - echo "################################" - ${pkgs.eza}/bin/eza --tree -aF --icons never - echo -e "\n\n" - echo "##############################" - echo "### CONTENT ###" - echo "##############################" - find . -type f -not -path '*/.git/*' -print0 | while IFS= read -r -d "" file; do - echo -e "\n--- DEBUT: $file ---\n" - cat "$file" - echo -e "\n--- FIN: $file ---\n" - done - } - - function n4c() { category=''${1:-all} shift @@ -126,11 +103,6 @@ in { nix develop "github:nix4cyber/n4c#''${category}" ''${args} -c zsh } - zle -N sesh-sessions - bindkey -M emacs '\es' sesh-sessions - bindkey -M vicmd '\es' sesh-sessions - bindkey -M viins '\es' sesh-sessions - # search history based on what's typed in the prompt autoload -U history-search-end zle -N history-beginning-search-backward-end history-search-end