golf golf golf...

This commit is contained in:
Nox Sluijtman 2023-10-21 00:31:58 +02:00
parent fe0bfb1fb2
commit 0703487e4d
2 changed files with 2 additions and 3 deletions

View file

@ -10,7 +10,7 @@
packages = rec {
default = pkgs.stdenvNoCC.mkDerivation rec {
pname = "irs";
version = "0.1";
version = "0.2";
src = ./src;

View file

@ -2,8 +2,7 @@
usage(){ printf "Opens a script in $EDITOR either as an argument or from the ~/.local/bin directory using skim\n"; }
if [ $# -eq 1 ] ; then
case $1 in
--help) usage ;;
-h) usage ;;
--help|-h) usage ;;
*) $EDITOR $(which $1);;
esac
else