1
0
mirror of https://github.com/kmein/niveum synced 2026-03-16 18:21:07 +01:00

fix(scripts): bash shebang

This commit is contained in:
Kierán Meinhardt
2020-04-09 19:30:25 +02:00
parent d118ce65b7
commit cf339a930b
3 changed files with 2 additions and 4 deletions

View File

@@ -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}')

View File

@@ -1,2 +0,0 @@
{ writeShellScriptBin }:
writeShellScriptBin "n" ''nix-shell -p "$1" --run "''${2:-$1}"''

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
file="$(rg "$@" | fzf -0 -1 | awk -F: '{print $1}')"
if [[ -n $file ]]