From 0703487e4d10ddfeebc9a5c92bfe38b3432c8190 Mon Sep 17 00:00:00 2001 From: Marty Sluijtman Date: Sat, 21 Oct 2023 00:31:58 +0200 Subject: [PATCH] golf golf golf... --- flake.nix | 2 +- src/bin/se | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 3a3a20d..c2971df 100644 --- a/flake.nix +++ b/flake.nix @@ -10,7 +10,7 @@ packages = rec { default = pkgs.stdenvNoCC.mkDerivation rec { pname = "irs"; - version = "0.1"; + version = "0.2"; src = ./src; diff --git a/src/bin/se b/src/bin/se index 599817c..d737da7 100755 --- a/src/bin/se +++ b/src/bin/se @@ -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