mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
fix(scripts): bash shebang
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if [ "$UID" != "0" ]; then
|
||||
pid=$(ps -f -u "$UID" | sed 1d | fzf -m | awk '{print $2}')
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
{ writeShellScriptBin }:
|
||||
writeShellScriptBin "n" ''nix-shell -p "$1" --run "''${2:-$1}"''
|
||||
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
file="$(rg "$@" | fzf -0 -1 | awk -F: '{print $1}')"
|
||||
|
||||
if [[ -n $file ]]
|
||||
|
||||
Reference in New Issue
Block a user