From b86448dbd4bb2781ae38bf0a52a5b7206ab7061c Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 24 May 2018 11:24:24 -0700 Subject: Remove setpath.sh It wasn't doing anything... --- home.nix | 1 - setpath.sh | 18 ------------------ 2 files changed, 19 deletions(-) delete mode 100644 setpath.sh diff --git a/home.nix b/home.nix index 76f4ede..2caa781 100644 --- a/home.nix +++ b/home.nix @@ -121,7 +121,6 @@ tdate = "date +%Y.%m.%d..%H.%M"; ttime = "date +%H.%M"; }; - profileExtra = builtins.readFile (./setpath.sh); }; emacs = { diff --git a/setpath.sh b/setpath.sh deleted file mode 100644 index d47d61c..0000000 --- a/setpath.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/usr/bin/env sh - -# add some useful stuff to my path (if present) -for DIR in \ - $HOME/bin \ - $HOME/me/bin \ - $HOME/.local/bin -do - if [ -d "$DIR" ]; then - PATH=$DIR:$PATH - fi -done - -# source nix.sh if present -if [ -f ~/.nix-profile/etc/profile.d/nix.sh ]; then - # shellcheck source=/home/ben/.nix-profile/etc/profile.d/nix.sh - . ~/.nix-profile/etc/profile.d/nix.sh -fi -- cgit v1.2.3