From f074052a9522f9956b104ddeb2fcbaf916cbfc35 Mon Sep 17 00:00:00 2001 From: Olexandr Smirnov Date: Sat, 26 Jul 2025 17:20:02 +0300 Subject: [PATCH] bin: remove some scripts --- bin/ex | 27 --------------------------- bin/git-main | 2 -- 2 files changed, 29 deletions(-) delete mode 100755 bin/ex delete mode 100755 bin/git-main diff --git a/bin/ex b/bin/ex deleted file mode 100755 index d1d070e..0000000 --- a/bin/ex +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env bash - -ex() { - file=$1 - [ -z "$file" ] && echo 'ex ' && return 1 - [ ! -f "$file" ] && echo 'Invalid file: `'"$file"'`' && return 1 - case "$file" in - *.tar.bz2) tar xjf "$file" ;; - *.tar.gz) tar xzf "$file" ;; - *.bz2) bunzip2 "$file" ;; - *.rar) unrar x "$file" ;; - *.gz) gunzip "$file" ;; - *.tar) tar xf "$file" ;; - *.tbz2) tar xjf "$file" ;; - *.tgz) tar xzf "$file" ;; - *.zip) unzip "$file" ;; - *.Z) uncompress "$file" ;; - *.7z) 7z x "$file" ;; - *.xz) unxz "$file" ;; - *) - echo 'Unknown suffix on file: `'"$file"'`' - return 1 - ;; - esac -} - -ex "$@" diff --git a/bin/git-main b/bin/git-main deleted file mode 100755 index e9e4f6a..0000000 --- a/bin/git-main +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env bash -git switch master 2>/dev/null || git switch main