xxwhirlpool
·
2026-03-20
editcmd
1#!/usr/bin/env bash
2
3cmd="$1"
4editfile=$(command -v "$cmd")
5
6[[ -f "$editfile" ]] && micro "$editfile" || echo "$1 does not exist"
1#!/usr/bin/env bash
2
3cmd="$1"
4editfile=$(command -v "$cmd")
5
6[[ -f "$editfile" ]] && micro "$editfile" || echo "$1 does not exist"