From: Nicolas Boisselier Date: Mon, 15 Apr 2024 09:21:30 +0000 (+0200) Subject: etc/profile.d/functions X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=ee30b6f60be27aff419b7d36a386e0857584358e;p=nb.git etc/profile.d/functions --- diff --git a/etc/profile.d/functions b/etc/profile.d/functions index c1665a37..63c2e68a 100755 --- a/etc/profile.d/functions +++ b/etc/profile.d/functions @@ -1,8 +1,10 @@ +#!/bin/bash ################################################################################# # # FUNCTIONS - CORE # ################################################################################# + type -P which > /dev/null || which() { type -P "$1" 2>&1; } cat_stty() {