From 709542f2011784e2da48405a0972ee46705033b8 Mon Sep 17 00:00:00 2001 From: ryo Date: Thu, 31 Oct 2024 17:08:48 +0000 Subject: Fixed: major bugs and bad file names --- config/shell/func | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 config/shell/func (limited to 'config/shell/func') diff --git a/config/shell/func b/config/shell/func deleted file mode 100644 index 7788689..0000000 --- a/config/shell/func +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env zsh - -proxy_connect=0 -toggle_proxy() { - if [[ "$proxy_connect" -eq 0 ]]; then - export http_proxy="http://127.0.0.1:2081" - export https_proxy=$http_proxy - proxy_connect=1 - echo "vpn activated" - else - unset http_proxy - unset https_proxy - proxy_connect=0 - echo "vpn deactivated" - fi -} - -generate_pass() { - local len=8 - if [ $# -eq 1 ]; then - len=$1 - fi - tr -cd '[:graph:]' < /dev/urandom | head -c $len | xargs -0 -} -- cgit v1.2.3